https://badcodes.ru/thread/interesnaia-proverka-avtorizatsii-na-php