D
D
Dmitry Korshunov2014-02-12 19:33:33
PHP
Dmitry Korshunov, 2014-02-12 19:33:33

Imitation of a non-existent site - is this possible?

Task
Login to the site admin panel is carried out at:
admin.sitename.ru?fpvmoeurhv985hg34h93g84h3948hg3g
Everything that is indicated after the question mark is the key to "activate the admin panel".
Question
So the question is, is it possible to issue a message about the "non-existent" site, if the wrong key is specified or it is not specified at all?
Explanation
Why? All in order to completely hide the admin panel, thereby making life more peaceful :)
(PHP + Apache)
PS 403, 404 codes and redirects are not suitable.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
gaelpa, 2014-02-12
@dkorshunov55

What do you have in mind?
To make it look like the host doesn't exist?
No. The browser has already resolved admin.sitename.ru to the ip address and connected to it on port 80.
Maybe the usual "redirect" supposedly from all subdomains will suffice (provided that you have configured a redirect from subdomains)?

F
FanatPHP, 2014-02-12
@FanatPHP

Kindergarten, pants with straps. "Let's get under the covers one more time so that the ghosts won't find us."
Instead of normal security, we invent "secrets with glass".
No.

V
Vlad Zhivotnev, 2014-02-12
@inkvizitor68sl

You seem to understand that if this happens via http, then such a link is easy to sniff and follow it? )
By subject - show the same thing that is shown if you go to the server by ip. It won't raise suspicion. But it's all bullshit. Tighten authorization through htaccess.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question