, JDBC JDBC, .
JDBC Ajax, SQL- JS Servlet, , , - 300 Java- 60 JS.
, HTTP. , , , :
select * FROM records
:
SELECT id, data, val, ... FROM records WHERE userid = ...
That selects only records created by an authenticated user. The only way to ensure security is to access the database only using predefined methods for retrieving / modifying data. Otherwise, data security and isolation must be performed by the database itself. Read the "dear big O database" :)
My 400-line JS / Java example above is used in a test system for home use only.
source
share