R
R
rinaz222018-12-06 13:23:09
Information Security
rinaz22, 2018-12-06 13:23:09

Can a website be infected through javascript or other client language?

Hello! I want to add one feature to the site. To do this, users will enter links to html, css, js files. Question: Can my site be infected through these links?
This function is not related to the database in any way, so all that remains is the download of the shell, virus, etc. to the server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2019-07-26
@rinaz22

Check the markup when uploading files to make sure it matches the extension exactly.
After downloading - put in a folder with rights to prohibit the launch (execute).
If you do everything right, they won't be able to.

S
stratosmi, 2018-12-06
@stratosmi

If you leave the possibility of these JS being executed, then they can easily slip a browser miner.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question