Jump to content

Make files secure


miligraf

Recommended Posts

I got a tutorial management system in which i can add, edit or delete tutorials; how do i make those files secure? and can the index (where you see all the tutorials) can it be secured?

i dont wanna find one day that someone just erased all the database.

thx.
Link to comment
Share on other sites

I guess it would depend on what management scripts you are using.

As for the database, make sure the user account that can directly access the database has a tricky password. Alphanumeric, non-common dictionary word, etc

As for your management system and making sure other people, when logged in, do not delete tutorials. I'd check to see if there are 'user levels' so that if you're not a certain level you can not delete the entry.

I have one thing I've implementated where the user who creates the entry, is the only one allowed to delete it unless they are of the highest userlevel. This of course the user only accesses via PHP and has no access to the actual database itself.

Link to comment
Share on other sites

i meant something like SQL injection thing...

but also, i added some .htaccess but it only works when trying to access the folder, if i know the exact name of a file inside, i can access it...lol. since i have all done, is there an easy way to create a login thingy with PHP without making a big mess?
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.