DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Security

FreeBSD Security Securing FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th August 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default Set password for Folder

I have folder and I have some files in it .
I want set password for this folder and nobody can not open it and browse it

but

I can open this folder in Windows system for example I write this folder in CD and go to my friends home and can open it with password .

I can do this with winrar in windows , but I test , when I set pass for some folder with WINRAR , I can open and browse files in FreeBSD and Linux and I can copy them

when I set password for folder in Windows with WINRAR , it work only in windows and that is not need password in FreeBSD.

how I can set password for some folders and it can work in Windows and FreeBSD and other OS ???
Reply With Quote
  #2   (View Single Post)  
Old 14th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,088
Thanked 198 Times in 156 Posts
Default

You can use 7zip to make password protected archives, I don't know how RAR works, but 7-zip encrypts the entire archive with AES-256, and should be secure, from http://7-zip.org/7z.html

Quote:
7-Zip also supports encryption with AES-256 algorithm. This algorithm uses cipher key with length of 256 bits. To create that key 7-Zip uses derivation function based on SHA-256 hash algorithm. A key derivation function produces a derived key from text password defined by user. For increasing the cost of exhaustive search for passwords 7-Zip uses big number of iterations to produce cipher key from text password.
You can also just make a tar.gz and encrypt that with gpg or OpenSSL ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 16th August 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

but why when I set password for folder in Windows with Winrar , I can browse this folder in FreeBSD with MC (Midnight Commander ) ??

Are you sure when I set pass with 7Zip this folder can not browse in other OS like Linux and FreeBSD and Solaris ?
Reply With Quote
  #4   (View Single Post)  
Old 16th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Quote:
Originally Posted by mfaridi View Post
but why when I set password for folder in Windows with Winrar , I can browse this folder in FreeBSD with MC (Midnight Commander ) ??
So does the Windows WinRAR version. It can browse those files, too.

It set passwords for file, which mean you can browse, but you cant access file without password.
__________________
The power of plain text? It can control an entire OS
Reply With Quote
  #5   (View Single Post)  
Old 16th August 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
You can use 7zip to make password protected archives, I don't know how RAR works, but 7-zip encrypts the entire archive with AES-256, and should be secure, from http://7-zip.org/7z.html.
It's also in /usr/ports/archivers/p7zip -- this may be easier
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #6   (View Single Post)  
Old 5th September 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

as far as i know, you can browse, but you can't access
Reply With Quote
  #7   (View Single Post)  
Old 5th September 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Maybe use http://www.truecrypt.org/ a cross platform free open-source disk encryption software for win/osx/linux/bsd

You will find a package here:
http://people.freebsd.org/~miwi/truecrypt.tgz
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
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
Samba 3.0 problem to setting up private folder - FreeBSD 71-pre bsduser FreeBSD General 7 27th September 2008 03:34 PM
A failure in password security TerryP Off-Topic 3 25th September 2008 03:19 AM
change root password. bsdnewbie999 OpenBSD General 1 16th September 2008 01:29 PM
root password is blank mfaridi FreeBSD Security 10 16th May 2008 10:19 PM
How to change folder icons for ROX rex FreeBSD General 0 12th May 2008 12:14 AM


All times are GMT. The time now is 05:57 PM.


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