Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197687
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | ^Bart <none@none.it> |
| Newsgroups | comp.lang.php, comp.lang.python |
| Subject | Re: New php project from scractch, PDO or psycopg? |
| Date | Sat, 7 Mar 2026 11:17:56 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 32 |
| Message-ID | <10ogu0k$1ekv9$1@dont-email.me> (permalink) |
| References | <10njo8g$3n983$2@dont-email.me> <n05rh8Fkfm1U1@mid.individual.net> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sat, 07 Mar 2026 10:17:57 +0000 (UTC) |
| Injection-Info | dont-email.me; posting-host="f3645ed95aa812fc9fcdc478f5d726ec"; logging-data="1528809"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IrWZ2cqOgQKBvK1eOI4spxpylNOW5H1A=" |
| User-Agent | Mozilla Thunderbird |
| Cancel-Lock | sha1:gPgjkgcsA4qGLxsfPDYUi7Cw87s= |
| In-Reply-To | <n05rh8Fkfm1U1@mid.individual.net> |
| Content-Language | en-US |
| Xref | csiph.com comp.lang.php:19615 comp.lang.python:197687 |
Cross-posted to 2 groups.
Show key headers only | View raw
Thanks for your reply! :) > I think this is more about layering the application, the frontend I > guess is written in PHP while the backend is written in Python. Frontend and backend (the admin backpanel) are written in php and I think I understood I should use PDO... > I would keep that separation and only allow the backend to access the database, > also keep it on a such level that the backend don't trust the data from > the frontend, that all data is validated before use, sure the frontend > shouldn't trust the users and validate their input. I need to know how to plan my project to improve security, my website and mobile app will be like a social network, I'll have (I hope!) a lot of users which will have their data showed on the frontpanel and a backpanel where the admin will manage all data and "power users" a piece of data. > Sure you could have been able to write everything in one or the other > language (python can do both frontend and backend, as you can do with > php too even less common), but I doubt you have the power to decide this. Now I'm writing the project in my free time and I can do everything but I'd like to do the best things for security, I'm a Unix like users from 1996, I use Debian from 2003 and also Kali for pentest. > -- > //Aho ^Bart
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
Re: New php project from scractch, PDO or psycopg? "J.O. Aho" <user@example.net> - 2026-02-24 15:39 +0100 Re: New PHP project from scratch, PDO or psycopg? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-24 20:29 +0000 Re: New php project from scractch, PDO or psycopg? ^Bart <none@none.it> - 2026-03-07 11:17 +0100
csiph-web