Protect the Trash with password !

Hi everyone,
Can anyone tell me if there is a way to password protect my trash can so nobody can delete files from my pc without me there if i forgot lock my mac.
I've looked everywhere and found nothing. But there must be away. Please it's so important to me.
Thanks in advance!
MacBookpro (mi-12), Mac OS X yosemite (10.10.1) .

Open the Terminal window in the /Applications/Utilities/ folder and enter the following:
chflags uappnd ~/.Trash
Try emptying the Trash again. If this command doesn't work, reopen the Terminal and enter:
sudo chflags sappnd ~/.Trash
Press the Enter key, and then type in your administrator password. When done, the Finder won't let you empty the Trash; it will instead tell you you don't have permission to empty it. Caution: this command cannot be reversed outside of Single User mode except by deleting the folder from Mac OS 9, and items placed into the Trash won't be removable from it; they can be copied out, but not moved out.
(11268)

Similar Messages

  • How to protect against a pdf printing without protecting the file with a password ?

    I want to know if it's possible to protect a PDF against printing without protecting the file with a password ?
    It's possible to make it with Acrobat Reader or another version ?
    Thank You
    Best regards.

    Hi,
    Yes, you can restrict editing and printing of the document; although you have setup a permission password (To restrict the users from changing the document permissions).
    Please follow the steps mentioned below:-
    Open the file in Adobe Acrobat- Document properties- Security- Change security method to password security- Select Restrict editing and printing of the document
    Regards,
    Nakul

  • How do you move a file to the trash with ONE keystroke (Can't believe I'm wasting time on this!)

    Everytime I want to send a file to the trash, I have to either perform some kind of key combination/shortcut or use the trackpad/mouse, right click and select "move to trash", or drag the file(s) to the trash!  This is absolutely ridiculous.  Why can't I just press the delete button??? I cannot take it anymore!  It's such a waste of time.
    After some research, I finally found a post with the answer I was looking for from user  par larsson 
    Re: How delete a file in mac os x?
    "You can also go into System Preferences and make a new keyboard shortcut. I turned one of the function keys into a "Move To Trash" key.
    1. No need to use the mouse for something that should be simple and quick.
    2. Single button press just like in Windows."
    Seriously!
    Now the problem is how do you do this?
    1. I went to the system prefs > Keyboard > Keyboard and checked "use F1, F2, etc... as standard function keys.."
    2. Under keyboard shortcuts, I selected "Application Shortcuts" and clicked on the "+" sign
    3. I selected the finder application, entered "Move To Trash" in the action box, and F12 as the key (because it's next to "delete")
    That did not work.  It just opened the dashboard instead.
    4.  I went back to "keyboard shortcuts" and found F12 was already assigned to open the dashboard.  So I unchecked it and tried again.
    That still didn't work.  I would select the file to be moved to trash, press F12, and after an error "beep" sound, the last file in the folder was highlighted.

    Duuuuuuuuuuuuuuuuuuuuuuuude!!!!!!!!!!!!  YOU DID IT!  I cannot believe it!
    I changed "Move To Trash" to "Move to Trash" and selected a file.  I had lost all hope, so I took a minute to prepare myself for yet another moment of deep frustration.  Then I pressed F10, and bang! the file was trashed!!!  It took me a couple minutes to actually believe what just happened.  Thank you so much!  If I could, I would "like" you as many times as I can physically hit the "Liked" button!
    PS: what the heck is wrong with Apple though???  Wrong instructions, incorrect help instructions on their own site.  The chances of figuring this out before having a nervous breakdown were like one in a million (approximately, I did not actually do the math).  Last week, the keyboard and the trackpad stopped responding on my brand new macbook pro for a couple hours. I was not the only one with this problem.  Apparently, this was from a design flaw, which means it could happen again at any time.  iMovie doesn't work.  TextEdit keeps crashing all the time.  Emptying the trash can take hours. 
    Since 2000, I bought a PMac G4 Quicksilver, a used PMac G3 Blue, a used iBook G4, a used Pismo PBook G3, a used Graphite iMac G4, a used iMac G3 (green, 233MHz I think) and I already had more problems with this brand new macbook pro than will all the other macs combined...  For such an expensive machine, with 16GB of RAM, that's a little dissapointing, especially from Apple.  Maybe I'm just not lucky.
    Anyways, thanks again!  Best moment of 2014!

  • Moving files to the Trash with Automator

    I'm having some problems with Automator, and I'm hoping it's just a simple step I'm missing.
    I have a list (text file) of a group of files I wish to remove from a folder (about 650 or so files, from a folder of about 8000). I have been able to get Automator to read the text file, and show me the result.
    (Ask for Finder Items (Files & Folders), Combine Text Files (Text), Filter Paragraphs [Return Paragraphs That Are Not Empty] (text))
    This results in showing me my list of files I wish to remove.
    I don't quite get how to pass this list on to the Finder to tell it to select these files, and move them to the trash.
    Any assistance would be appreciated.

    Since your text file just has the names, an action is needed to build the complete file path. Most of Apple's text and file actions don't use variables, but a Run AppleScript action can be used to fill in the blank. Give this workflow a try (I haven't tested it with a large number of files, so I don't know how slow it will be):
    1) Ask for Finder Items {Files} -- choose the text file
    2) Combine Text FIles
    3) Filter Paragraphs {Return paragraphs that are not empty}
    4) Run AppleScript -- paste the following script:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters} -- build file paths from a list of names
    set output to {}
    set SkippedItems to {}
    set TheFolder to (choose folder with prompt "Select the folder containing the files:") as text
    repeat with AnItem in the input
    try
    set AnItem to (TheFolder & AnItem)
    get AnItem as alias -- test
    set the end of the output to the result
    on error
    set the end of SkippedItems to AnItem
    end try
    end repeat
    if SkippedItems is not {} then
    display alert "Error with AppleScript action" message ((count SkippedItems) as text) & " items were skipped (file not found)"
    end if
    return output
    end run</pre>
    5) Move Finder Items to Trash

  • How do i force empty the trash with old backups in it?

    I am clearing out some old backups created by the TimeMachine and am unable to empty them from the Trash or return them. How can I force the Trash to empty?

    Trying to remove some of your Time Machine back ups through trash is not a good idea without doing the necessary research first.  Read about ways to solve Trash problems.
    From the X LAB.       Solving Trash Problems     
    You can't empty the Trash or move a file to the Trash
    Then, for clearing stubborn trash.                Download Trash It! for Mac
    In particular related to Time Machine.        
    Time Machine - Troubleshooting E6.
    Can't empty the trash after deleting backups via the Finder
    Unless you are in the CIA or MI5 you need not use Secure Empty Trash.   It takes seven times longer and the Empty Trash is perfectly safe in most circumstances.

  • I have an imac..put a folder in the trash with a lock item,cant empty trash,how do i get it unlocked?

    I have an imac...put a folder in the trash and it has a locked program,now i can get it out of the trash to unlock it so i can empty the trash...any help appreciated.

    Try Trash It! 5.1. Also, visit The XLab FAQs and read the FAQ on resolving Trash problems. Often you can delete a locked file by holding down the OPTION key while you Empty the Trash.

  • Any app to lock the videos with password

    Is it possible to hide videos from others viewing in my ipad,can the videos be hidden like we do in windows,
    can some videos be opened only with a password on ipad

    GoodRead allow you to password protect, video, music, photos, PDFs, word and text docs, iWorks docs, folders and anything else imported in the app.
    http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=289191291
    Message was edited by: David M Brewer

  • Cannot log on to the internet with password and us...

    Since I have had my computer repaired due to virus, I cannot log-on to the internet using my username and password to get upgrades and apps etc.....Any ideas on how to rectify the problem.

    HI,
    I belive you mean here to acces Ovi Account.
    There has been some amount of thread for this issue in forum.
    This problem has to do with expired certificates that you have on your computer. We are working to get the problem fixed for the next release.
    To remove the problematic certificates, do the following:
    On your computer, open Control Panel and click Internet Options.
    In the Internet Properties window, select the Content tab, and click Certificates.
    In the Certificates window, select the Trusted Root Certification Authorities tab.
    To sort the certificates, click the Expiration Date column header.
    Select any GTE CyberTrust certificates that have their expiration date in the past. You should be left with one GTE CyberTrust certificate that is valid.
    Click Remove and, when asked for confirmation, click Yes.
    After the expired certificates have been removed, please restart Nokia Ovi Suite and try signing into your Nokia account again.
    I hope this helps.
    Br
    mahayv

  • Everytime I open firefox it says my user name and password are invalid, I tried resetting my password, but have not received the email with password details firefox claims to have sent - what do I do?

    Having tried to ask this question it didn't recognise my account, so have now created another one, with the same email address, just to ask this question, it doesn't make sense.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • IPhoto - MobileMe gallery subscription - problem with password-protected

    I am having a peculiar problem with subscribed galleries from MobileMe in iPhoto 08 and iPhoto 09. For galleries that have password-protection enabled, the full URL of the gallery subscription feed is pulled through as the Subscription title instead of the gallery title.
    For example "http://gallery.e.com/ACCOUNT-NAME/XXXXXX/?webdav-method-truthget&depth=infinit y&feedfmt=atom....
    This doesn't occur for public MobileMe galleries. The title of the gallery comes across and the URL of the subscription is hidden.
    Anyone having similar problems? Local Genius Bar couldn't help and assumed it was just a bug, but it doesn't seem to be typical of Apple.
    As an aside, it would also be nice to have these feed subscriptions behave similarly to the way RSS subscriptions work in Mail, with the ability to select how often the feed is queried and indicate the number of new items. This would alert users of changes to feeds.
    Joe

    Upon further research, it appears that this problem occurs when publishing from either iPhoto or Aperture to MobileMe. The problem seems to be when a gallery is published and one chooses not to have the gallery appear on the main gallery page (hidden). It seems to have nothing to do with whether or not one protects the gallery with a password.
    So, Apple, if you are listening, can you provide any information on how to have the title of the gallery come through when subscribing using iPhoto while at the same time not listing the gallery on the main MobileMe gallery page? This seems to be a fixable bug.

  • Winzip with password protection

    Hi All,
    We have a requirement to zip the files with password protection. Please can anyone guide us how to acheive this.
    Currently we are planning to develop a custom adapter module  by extending PayloadZipBean module  to get the password functionality by writing some custom code. Please can anyone guide us from where we can get the code for this module or how we can achieve this.
    Please correct me if the above mentioned approach is wrong. Also suggestions are invited to achieve the above mentioned requirement using other methods.
    If anyone has already gone through such requirement then please share your experience and the way you achieved this.
    Thanks and Regards,
    Shiv.

    HI Stefan,
    As per my understanding, the blog (/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover) you specified is explaining to reduce the load on the server by zipping the large files. please correct me if i am wrong.
    but the requirement is to zip the target file along with password protection. we are able to zip the target file by following steps in your blog (/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework), but how to password protect this zip file?
    Thanks...
    Sukarna.

  • RSS Feed with Password Protected Blog

    I just got done setting up a password protected blog on my .mac site w/ personal domain. I tested out the RSS Feed in NewsFire, and it worked fine (prompted for username and password), and it also works in the Mail program. I had a friend ask if it would work in her Google Reader, so I tried it out using my Google account, and it doesn't seem to want to work -- says the feed cannot be retrieved. Same thing when I tried to plug it into my Yahoo page. I set up another site with a test blog w/ no password protection, and it worked fine in the Google reader.
    So I am assuming that the other readers are just not sophisticated enough to display feed from a password protected page. So my question is whether or not there's anything I can do (or advise them to do) to get around it.
    TIA for any perspective.

    Hi, JO
    I'm having the same problem with password protection on, though I hadn't tested with it off.
    I don't have a solution (though I'd like to find one), but I can add more info to the problem: when I tested my website on Internet Explorer in Windows (I run windows on my iMac with Parallels), the search function did work with the password protection on.
    I'd really like to know how to get the Search button to work on the Mac with password protection on.
    NE

  • Protect The Cells in the Excel Sheet Even After giving the password.

    Hi All,
    I need to protect the cells in the report even after unprotecting the sheet after giving password.
    That is, i have used some excel formulas in some cells, these cells are to be protected.
    In Reports using EVDRE all the cells are getting, "Locked" option selected in the Protection tab by default. Even if we change that Option and refresh the sheet Locked is getting selected again.
    So once we Protect the sheet using password all cells are getting locked. But once we remove password all cells are free to enter.
    I want the user of the Sheet to use only certain columns in the Sheet. and all the other columns should not be user editable.
    Please help me out in solving this issue.
    Thanks in Advance,
    Regards,
    G.Vijaya Kumar

    Hi Vijaya,
    I tested in my test environment and even after refresh , the range cells are still editable, they didnt get locked. I did the following:
    1. Selected the range or column in Excel, then Tools - Protection - Allow users to edit range. I selected the range and gave the password.
    2. Next I protected the complete sheet.
    3. Now entire sheet is protected. Now again I selected the range in which I want to edit, first time it will ask for password which you gave for the range. So I gave and I was able to edit the cells.
    4. I selected other cells and was not able to edit it so they are still locked.
    5. I tried to refresh the report , and then I selected the range cells to edit and still I was able to edit it. Those cells didnt get locked.
    So did you do the same things?
    Thanks.

  • FIll in, save and protect with password

    ok, here it komes.
    i design forms for my users. the form has a pickingslip layout.
    my users fill in the form save and send to the customer. BUT
    the form has to be protected from applying changes to filled in data.
    i just made a test in livecycle. protected the form with a pass word.
    then i have to open the pdf in adobe acrobat 8 to enable the save form feature. but then the form is not protected anymore. i also done reverse.
    developed form in livecycle, edited the security in acrobat 8 then
    enabled the reader extension. pdf remaines unprotected, i do not get
    the promt to give in the password

    11. Charge and Discharge Your Battery Regularly
    Your iDevice needs to be fully discharged and recharged at least once a month to operate at maximum efficiency and keep the battery from dying. You’ll also want to make sure that you don’t store the device with a dead battery, as that can also cause the battery to lose charge capability—when your battery dies, make sure to recharge itquickly
    The reason that Apple suggests you drain and recharge your battery once a month is not because it affects the life ofthe battery. What it actually does is calibrate the battery sensor, giving you a more accurate reading. 
    Other than that, you done an admirable job of summarizing the Knowledge Base article:
    http://www.apple.com/batteries/ipad.html
    Best of luck.

  • I want to access the database with user name and password without con. info/udl

    hi to all,
    im doing project related with database... normally i'll connect ***.udl file to open database.vi.
    now what is my question is I want to open the database with the user name with password.... y i need this because once i run the program the program should ask username and password to open database for write/read operation. if its wrong user name and password means program should be denied... 
    can any tell how to access the database toolkit with the username with password....
    im using labview 7.0... 
    i think my question is clear....waiting for reply thank you in advance...
    pls see this attachment.....
    Regards,
    N. Srinivasan
    Attachments:
    access.vi ‏37 KB

    i have already read that link in the discussion forum...but im still have some confussion in... i attached file is so like to give user name and password..?
    and one more things can tell wat to do in ODBC and MDB and in UDL for password lock.. each time i run the promgram it should ask password to acces the database.. 
     thank you a lot for your reply.. 
    it will be more more useful if u clear my doubts clearly....
    Regards,
    N. Srinivasan
    Attachments:
    user=pass.PNG ‏35 KB

Maybe you are looking for

  • Connection error in J dev 11g when deploying weblogic.

    We developer an ADF JSF 11g application. Deploy weblogic is OK for application module We use JDBC URL type connection. Our DB name is TESTDB. And url is jdbc:oracle:thin:@10.0.X.XXX:1521:TESTDB. We have configured web logic with the same connection i

  • Streaming help

    Hi All, I am developing an application in flash lite. It has to open Streaming video files and has to stream. I want to test that application. Can anyone tell me any streaming .3GP sites. I can use there clip URL directly in my project and test it. I

  • Adding Gmail to Mail without setting up Contacts

    hi everyone- Is there a way to set up my gmail account in Mail without adding my gmail contacts? I would like to start using Mail to access my Gmail account without adding my Gmail contacts. My gmail has 5,000 random contacts, and I don't want to bri

  • Error downloading Oracle 9i for Linux

    When trying to download 9i from download-east with Firebird, IE, elinks, etc..., I get, "error reading from socket." This has been happening since last night and it is quite silly. Are there download mirrors available, or at least some alternative to

  • Weird genre selection problem

    Hi, I just got my Video iPod on Wednesday and I've just been getting used to it. One problem I'm having is that when I go to select a certain genre, I come across something strange. From the main menu, I select Music>Genre>"Genre title">All[Artists]