illustrations

This commit is contained in:
lovasoa
2024-09-06 12:01:25 +02:00
parent 801f2335fa
commit bf9f03324e
10 changed files with 19 additions and 4 deletions
+5
View File
@@ -1,5 +1,10 @@
select 'dynamic' as component, properties FROM example WHERE component = 'shell' LIMIT 1;
select 'hero' as component,
'Performance in SQLPage' as title,
'SQLPage applications are fast, because they are server-side rendered, and begin streaming the page to the browser while the database is still processing the request.' as description,
'performance.webp' as image;
select 'text' as component,
'
# Performance of SQLPage applications
Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

+8 -3
View File
@@ -1,9 +1,12 @@
select 'dynamic' as component, properties FROM example WHERE component = 'shell' LIMIT 1;
select 'hero' as component,
'SQLPage''s security guarantees' as title,
'SQLPage prevents common web vulnerabilities such as SQL injections and XSS attacks by default.' as description,
'safety.webp' as image;
select 'text' as component,
'
# SQLPage''s security guarantees
SQLPage is a tool that allows you to create a full website using only SQL queries, and render results straight from the database to the browser.
Most programmers, hearing this, will immediately think of the security implications of this model.
@@ -18,7 +21,9 @@ SQLPage websites are *server-side rendered*, which means that the SQL queries st
where SQLPage is installed.
The results of these queries are then rendered to HTML, and sent to the user''s browser.
A malicious user cannot run arbitrary SQL queries on your database, because SQLPage does not expose your database to the internet.
A malicious user cannot run arbitrary SQL queries on your database, because SQLPage
does not expose your entire database to the internet, only the results of
your prepared queries, rendered as web pages.
## Protection against SQL injections
Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

@@ -13,7 +13,12 @@ end);
SELECT 'hero' as component,
'Your first SQL Website' as title,
'Let''s create your first website in SQL together, from downloading SQLPage to connecting it to your database, to making a web app' as description,
'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Backlit_keyboard.jpg/1024px-Backlit_keyboard.jpg' as image,
case $os
when 'linux' then 'get_started_linux.webp'
when 'macos' then 'get_started_macos.webp'
when 'windows' then 'get_started_windows.webp'
else 'get_started.webp'
end as image,
'https://github.com/lovasoa/SQLpage/releases'|| case
when $os = 'windows' then '/latest/download/sqlpage-windows.zip'
when $os = 'linux' then '/latest/download/sqlpage-linux.tgz'
Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB