- #Hider 2 what if someone copies the file how to
- #Hider 2 what if someone copies the file mac os x
- #Hider 2 what if someone copies the file software
- #Hider 2 what if someone copies the file code
You can quickly mark a file or folder as hidden with the chflags command in the terminal. Try to rename a file or folder so it begins with a period and the Finder will tell you “these named are reserved for the system.” There’s also no way to quickly toggle the hidden attribute in the Finder’s graphical interface. Hiding a file or folder is a bit more difficult on a Mac. There’s also a special “hidden” attribute the Finder will obey. Macs also hide files and folders beginning with a.
#Hider 2 what if someone copies the file mac os x
RELATED: A Windows User's Guide to Mac OS X Keyboard Shortcuts On Ubuntu and other GNOME-based Linux distributions, just right-click in the list of files and select the Show Hidden Files option. You can view hidden files in an Open or Save dialog, too. The option will just display files an folders with a period at the start of their name. Hidden files and folders will have partially transparent icons, so you can easily tell which are hidden and which are normally visible. To view a hidden file or folder on Windows 8 or 10, click the View tab on the ribbon at the top of the File Explorer window and enable the Hidden items checkbox under Show/hide.
#Hider 2 what if someone copies the file how to
RELATED: How to Show Hidden Files and Folders in Windows 7, 8, or 10
You can’t do this from the graphical interface, so follow our guide to marking files and folders as system files on Windows if you want to do this. You can make an extra-hidden file by marking it as a system file - people will have to go out of their way to disable the “Hide protected operating system files (recommended)” option to find it. Windows also has a second type of hidden file or folder, known as a “system file.” There’s a separate option to enable viewing system files and folders.
#Hider 2 what if someone copies the file software
RELATED: Make a Super Hidden Folder in Windows Without any Extra Software Click OK or Apply and your file or folder will be hidden. Right-click it and select Properties.Įnable the Hidden checkbox on the General pane of the Properties window. With open(directory+'\\Credentials.To hide a file or folder on Windows, open a Windows Explorer or File Explorer window and locate the file or folder you want to hide. Password = base64.b64encode(bytes(input(' PassW: '), encoding='utf-8')).decode('utf-8')Ĭred = lanid+splitter+email+splitter+password \nSo I dont keep asking you for your email and password everytime you run me, I will be saving an encrypted file at. Print('I could not file the credentials file. With open(directory+'\\Credentials.txt', 'r') as file: getCredentials will create the encrypted file if it does not exist and return a dictionaty, and updateCredential will update. You basically import or copy the function to your code.
#Hider 2 what if someone copies the file code
However it does obfuscate, and if you compile the code (with something like Nuitka) at least your password won't appear as plain text in a hex editor. If someone has both the token and the key (as they would if they have the script), they can decrypt easily.
Obviously, there are some shortcomings to this approach. Once you've done this, you can either import mypassword directly or you can import the token and cipher to decrypt as needed. Mypassword = crypt(token).decode('utf-8') # create a cipher and decrypt when you need your password Token = b'gAAAAABe_TUP82q1zMR9SZw1LpawRLHjgNLdUOmW31RApwASzeo4qWSZ52ZBYpSrb1kUeXNFoX0tyhe7kWuudNs2Iy7vUwaY7Q=' Key = b'B8XBLJDiroM3N2nCBuUlzPL06AmfV4XkPJ5OKsPZbC4=' Then, create a module with the following code: from cryptography.fernet import Fernet > password = "thepassword".encode('utf-8')ī'gAAAAABe_TUP82q1zMR9SZw1LpawRLHjgNLdUOmW31RApwASzeo4qWSZ52ZBYpSrb1kUeXNFoX0tyhe7kWuudNs2Iy7vUwaY7Q=' A way that I have done this is as follows:Īt the python shell: > from cryptography.fernet import Fernetī'B8XBLJDiroM3N2nCBuUlzPL06AmfV4XkPJ5OKsPZbC4='