Is there a problem with the use of HTTP cookies as auth tokens in mobile apps?

Imagine you have a website, for which you have configured a proper and secure session management / login system, using first-party / session cookies. Any interaction with that website is setup in the form of a REST API, so there are no HTM… Continue reading Is there a problem with the use of HTTP cookies as auth tokens in mobile apps?

Secure Serving of File Uploads on PHP Server without Root Config Possibilities? (Apache)

To secure the file uploads to a PHP/Apache server, I have already implemented the following steps:

Solid upload validation from PHP Framework
Used own names for uploaded files
Place uploaded files in server directory outside + above web r… Continue reading Secure Serving of File Uploads on PHP Server without Root Config Possibilities? (Apache)

Best and safest way to store secret key used for PKA on server?

I interact with some API’s that use PKA and I’m looking for the safest / best-practice way to store my secret key. The approaches I know are for example:

Create a 0500 access directory on my server
Within that directory, store the file co… Continue reading Best and safest way to store secret key used for PKA on server?