Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
The site stores personal information on the local machine. This sensitive data contains personal details like their names, their date of birth, their identity card, etc. This data can be access later by a third party either at the machine through the browser when the user visits their site. How to prevent this case?
Screenshots
Attached
If you own the site, you can easily clear localStorage as a whole or in pieces. Run this code after you're through using the local data.
localStorage.clear();
You can remove specific variables like:
localStorage.removeItem(key_name);
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last year.
Improve this question
Anyone tell me that where the user data (like photos, videos, posts) is saved?
Because I don't think that they goes in SQL or any similar database.
Typically you will use a service like AWS S3 for media (photos, videos, files, etc.). Blog posts (just text) will be in the database in a text type. Media is usually renamed to a unique value and then referenced in the database.
However if this is a personal project not meant for public use you could store media locally in the filesystem (NodeJS, PHP)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am creating an application in the MERN technology stack. This project is a gallery of graphics. Some of the graphics are paid and some are free. I am wondering which way to store these paid images will be the most secure ? I put the free graphics in a static uploads folder stored on the server where the application is running. The path to the file is stored in the database.
Easiest way to do it is to have the paid images in some storage that is not publicly accessible. Then you put some form of a api/proxy in front of it that can verify users. If user is verified you show the picture, if not you show something else.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have an exe that I need to run on a site, I have access to it's database, I need to upload it and run it directly from the site, so how can I make it execute like in windows and how do I make it to show on the site(javascript?)
As per my comment this question isn't valid on this site but I'd like to point something out before it gets deleted :
Storing a whole .exe in a database sounds a bit odd. If you really need to then I guess you could store a byte array in the database and then re-write the exe to the filesystem from the byte array.
A better solution would be to store the .exe on the filesystem right away and only store the path to the executable in the database.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I'm working on a chrome extension and I need to get a schedule data from outside of the extension to let the admin broadcast the schedule to the extension users. I wanted to use hapi.js but I can't afford to buy any private server. I did find free website hosting. I thought I would do a minimal website with just a login system and some pages containing the data I would want and make some get request on the extension and extract the schedule on the extension.
Is it okay like a replacement plane for the API?
For almost the same purpose I was using WordPress website with json api plugin. (https://wordpress.org/plugins/json-api/) It is super easy to install and later you can simply run fetch requests inside of your application or extension.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am building a web browser text base RPG game with PHP/Javascript/HTML and CSS.
Each user has some information like his Name, Level, Experience, Gold and more. All the data is saved in the database.
When moving from pages in the game what will be the right method to store the data to be use in all the pages?
I thought about the following options:
PHP SESSION
Cookie
Using GET with the info in the link.
What do you think is the right way to do it?
In aspect of data security, hacking, easy etc.
Currently I am thinking about using PHP SESSION.
Assuming that most of your game logic is executed on the server side, keep the game state in the PHP session. Other than cookies and GET parameters, the session information is stored on server side and for this reason out of reach for manipulations by the user.
In addition to that, save consistent states to the database often to make the game information persistent.