Jump to content

[SOLVED] Admin section


Jurge

Recommended Posts

I have made a few developments to my site that alloow the site to be edited with php, however i ahve not been able to secure these files so technically anyone could use them. I have tried 3 different methods of protecting them but none of them have been quite what i was looking for does anyone have any ideas that can be achieved without the use of a database (I am too noob for database).

 

The methods i have tried are:

 

.htaccess and .htpasswd, but my free hosting service doesn't let em go above the root folder to add the .htpasswd file.

 

<?php require_once('../login.php'); ?>

  at the top of all protected pages, this clashed with the scripts that I already had on the pages.

 

and a pre-made php script for a login but you can bypass the login by going straight to the file so it's pointless for my needs.

 

 

very grateful to anyone that can help thanks.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.