DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Security

FreeBSD Security Securing FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th July 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default file:///

why when I type
Code:
file:///
in firefox and press Enter I can see all directory of my system , I think it is danger and I can browse my system for example my brother can sit on my system and browse everything , I do not like this happen
What I must do ???
Reply With Quote
  #2   (View Single Post)  
Old 27th July 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

$ chmod go= ~

then, create a new login account for your brother and make him use that.
Reply With Quote
  #3   (View Single Post)  
Old 27th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Read:
Handbook: permissions
man chmod
man chown
man chgrp
Reply With Quote
  #4   (View Single Post)  
Old 27th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I run my private user account under umask 027, I also chmod all my files to 640 and directories to 750..

If the user can browse your files via "file://" in Firefox, they can do it from xterm as well... hide stuff that's important to you, if they can evade file permissions... use OpenSSL to encrypt the files.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What does your .*shrc file look like? TerryP Off-Topic 13 23rd February 2012 11:28 PM
PHP read file contents - Maximum file size cksraj Programming 1 21st September 2009 11:38 AM
File system at more than 100% michaelrmgreen FreeBSD General 4 28th July 2008 01:52 PM
Help with tcpdump file brokensilence General software and network 2 10th July 2008 03:45 PM
VSFTPd: pid file kostromin FreeBSD Ports and Packages 0 4th July 2008 08:35 AM


All times are GMT. The time now is 11:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick