Protecting A Page From Being Directly Accessed With PHP
… here since using a "get" method will just append the property to the URL, which the user can then share with anyone. On the other side of … into hidden fields in forms, but for this purpose we just create a URL parameter that gets embedded in the link to the protected page. <a … to implement. It is also simple to inject the credentials into the URL when linking to the page. All we need to do on this page is setup …