1.

Solve : CIPHER command?

Answer» <html><body><p>Hi all,<br/>Im kindof new to DOS commands. I started making a batch file that would encrypt a message for you by shifting each letter a few letters up, then i came across the <a href="https://interviewquestions.tuteehub.com/tag/cipher-419828" style="font-weight:bold;" target="_blank" title="Click to know more about CIPHER">CIPHER</a> command. I know it does not do the same thing and that it is supposed to encrypt files, but when i was messing around with it, i encrypted a few files and when i went to them nothing had changed.<br/><br/>What exactly does it <a href="https://interviewquestions.tuteehub.com/tag/mean-770507" style="font-weight:bold;" target="_blank" title="Click to know more about MEAN">MEAN</a> when it says its encrypting the file, or am i doing something wrong<br/><br/>Thankyoua quick overview of NTFS: <a href="http://www.pcguide.com/ref/hdd/file/ntfs/otherEncrypt-c.html">http://www.pcguide.com/ref/hdd/file/ntfs/otherEncrypt-c.html</a><br/><br/>Short story: Encryption is built into the NTFS file system. In order for a program to encrypt/decrypt a file, it merely needs to call EncryptFile() or DecryptFile().<br/><br/>The file data On-Disk is encrypted based on the current User's SID and the SID of any designated "recovery agents"; this means that the only way to decrypt the data is with a user that has one of those SIDs.<br/><br/>When you access an encrypted file- or more precisely, when any program accesses an encrypted file, unless they use special backup modes to access the actual encrypted data, the data is decrypted on the fly as the program reads from the file, by using the current user's SID. if the SID is unable to decrypt the file, an Access Denied Error occurs.<br/><br/>I am still a little unsure as to what the CIPHER command actually does. Are you saying that if i encrypt a file that another user on the same computer wont be able to see it? could you try to keep your answer a little simpler, because im quite new to all of this... Thanks Quote from: jpotts on November 15, 2010, 07:37:57 PM</p><blockquote>Are you saying that if i encrypt a file that another user on the same computer wont be able to see it? <br/></blockquote> <br/>No. I'm saying they won't be able to access it.<br/><br/> Quote from: BC_Programmer on November 15, 2010, 07:41:58 PM<blockquote>No. I'm saying they won't be able to access it.<br/></blockquote> <br/>Indeed. One thing that you can’t do with the Cipher tool that you can do through the GUI is give other users cryptographic access to encrypted files or folders. Windows XP and <a href="https://interviewquestions.tuteehub.com/tag/2003-243754" style="font-weight:bold;" target="_blank" title="Click to know more about 2003">2003</a> Server (unlike Windows 2000) allow the person who encrypts a file to <a href="https://interviewquestions.tuteehub.com/tag/add-361838" style="font-weight:bold;" target="_blank" title="Click to know more about ADD">ADD</a> other user accounts that enable others to view his/her encrypted data. This is done through the Encryption Details dialog box (accessed <a href="https://interviewquestions.tuteehub.com/tag/via-723599" style="font-weight:bold;" target="_blank" title="Click to know more about VIA">VIA</a> the Details button on the Advanced Attributes property sheet). There is no mechanism for doing this with the Cipher tool. Quote from: Salmon Trout on November 16, 2010, 12:23:18 AM<blockquote> There is no mechanism for doing this with the Cipher tool.<br/></blockquote> <br/>Windows 7 or vista added a /ADDUSER switch to cipher.</body></html>


Discussion

No Comment Found