0

I have a website like maindomain.com that hosted on a different hosting like 192.168.1.1 i want to add a subdomain from a different host like 192.168.1.2 to my main domain which my address will be like subdomain.mainwebhost.com

If on Subdomain host i have a script with a security bug , Can attackers setup any kind of attacks against my data that hosted on my main host ?

0

In the context of SQL injection, if both domains are run by the same web server and an attacker is able to perform SQL injection on your subdomain host such that he/she can obtain information from the database, there is a good chance the attacker can also obtain information from your main host as well since both hosts use the same database and web server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.