SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: Simple Site

  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple Site

    New to building websites. Do you need to have some type of .htaccess file to secure it on a simple html site?

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,165
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by tncandle View Post
    Do you need to have some type of .htaccess file to secure it on a simple html site?
    Not sure what you are asking here, but you don't need anything in an htaccess file, per se. They are handy for various things, though.

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just uploaded a site and was wondering if I had to secure it's files somehow.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,165
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by tncandle View Post
    was wondering if I had to secure it's files somehow.
    No, not really. What do you mean by "secure"? Is there something in particular you want to do?

  5. #5
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No I just don't want anyone to be able to change anything.

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,165
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by tncandle View Post
    No I just don't want anyone to be able to change anything.
    No, normally no one can change your site unless you give them some kind of access.

  7. #7
    #titanic {float:none} silver trophy
    molona's Avatar
    Join Date
    Feb 2005
    Location
    from Madrid to Heaven
    Posts
    8,214
    Mentioned
    236 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by tncandle View Post
    No I just don't want anyone to be able to change anything.
    They can't unless they can get access (legally or not) to your server

  8. #8
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,147
    Mentioned
    261 Post(s)
    Tagged
    5 Thread(s)
    Quote Originally Posted by tncandle View Post
    No I just don't want anyone to be able to change anything.
    I'd advise changing your file and directory permissions to read-only, for added security.

    (I had a couple of sites hacked a few years back, and files were uploaded which I knew nothing about. With directory permissions set to read-only, even I can't upload to those folders, unless I remember to change them first. Which, of course, I always do. )


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •