How can i restrict access to a mounted smb drive?

Hope someone can help this is bugging me! i'm running this apple script as a student logs in to mount the students share folder, located on a MS2003 server, and a share drive on an Xserve to their desktop:
set student_name to (do shell script "echo $USER")
property stu_password : ""
-- displays the password dialog box and stores the result in stu_password
repeat while stu_password is ""
display dialog "enter your password to access the share" default answer stu_password with hidden answer
set stu_password to text returned of result
end repeat
-- mounts the network share to the desktop
tell application "Finder"
open location "smb://servername/stuhome/" & student_name & "/"
open location "afp://" & student_name & ":" & stu_password & "@servername/Share/"
end tell
It works fine and mounts the drives however... finder then defaults the network location so the student has access to all the folders on /servername/stuhome/ I just want it to mount /servername/stuhome/username/ with no backwards access. I cant set permissions from a server folder level (i don't think!) as its a windows server. any suggestions? why does finder do this? ta.
Intel XServe Mac OS X (10.4.10)
Intel XServe   Mac OS X (10.4.10)  

I've done a work round i'm not 100% happy with but it will do! If anyone else has this problem feel free to mail me.

Similar Messages

  • How can I restrict access to add. internal hard drive by account?

    Hello! Okay, so I am my computer's administrator, and I have a secondary 'guest' account that anyone else can use. So, I know that all my data on my main, OS hard drive is secure from the guest account accessing it, but what about the additional hard drive that I have installed?
    I have a good deal of sensitive data and files stored (and aliased) on my second internal drive that I do not care for 'guest' users to stumble upon. How can I restrict access to the secondary storage hard drive from my Guest login account, and/or just plain hide it from it? Surely, there is a need for this that has brought about a solution. Any tips/advice/solutions?
    Thanks!!!
    =)

    Click here and follow the instructions followed by placing the folders and files on the image; if the password is in the keychain, it will be supplied whenever you're logged in.
    (41018)

  • How can I restrict access to cloud storage from Creative Cloud? We don't want our users putting files outside the organization.

    We need to restrict our users from storing files outside the organization. How can we restrict this capability?

    They have Cs6, however I need to have my own copy, and the highest I can go with my system is CS5, maybe even 5.5. I've a small budget, and most copies are being sold for massive amounts because they're like collector items. I've seen the ones actually affordable within my range from sellers that arent trustworthy, or they're updates which I can't use. I had Cs2, but with updates to operating systems they stopped working. Thank you for your kind assistance.

  • How can I restrict access to some webpages

    I have one website that I designed it in Dreamweaver with html pages.
    I want to have some  restricted pages. It means that when one user wants to access to the special page, fist in one form ask him the password and if that password be correct it will direct to the next page.
    I do not want to have database and different user names just I want to have one password for all and ask all the users that password.
    Would you please help me and say how can I do that.
    Thanks

    Hi Parmin...
    If your looking for a quick and easy.. no php backend mess.. Here's a javascript password method.. Because you're using all front end languages its hard to hide the target page from the source code, that anyone with a clue could view.. this method and the best Ive ever seen.. the password IS the new page.. so "password" + .html is the script.. never showing a target pages name...
    Gate Keeper Password Protect
    this demo its in a popup window.. but you could take that code and just place directly into a main page if you liked..

  • How can I wirelessly access my desktop's extrenal drive via my laptop?

    I know that the Unix underpinnings of OSX only allow me to access my home folder wirelessly but most of the files I want to share are on my 250 gig lacie external drive.
    There must be a way around this but I don't know what it is.
    I would like to be able to copy and write to this drive from my Dell laptop.
    I have a wireless network set up with airport extreme which works well otherwise.
    Thanks,
    Gord
    power mac g4 dual 450 Mac OS X (10.4.1)

    You will need to use Sharepoints in order to share the hard drive.
    http://www.hornware.com/sharepoints/
    iFelix

  • How can i restrict user to access database object (procedure) or JSP

    Hi
    I have 9ias infrastructure 902, on win2k box with 9i DB.
    and I have one PL/SQL web application and another J2EE application both are hosted by 9ias 902.
    Now we are looking forward to couple both with SSO.
    I have deloyed samples of both and works fine.
    Each application have different set of users, i mean there is no common user.
    How can i restrict user not to view the web page which is not authorised to them.
    as far as i understand from the Grocery demo is pick the role (which is a string only) from OID and programaticall apply security via if else endif construct.
    can any one through light upto my concern.
    regards
    [email protected]

    Hey Mary
    No i haven't try to do that via pl/sql....
    as the our application is j2ee app... deployed in oc4j.. with sso and ldap....
    still finding to do so....
    what i have realized that LDAP is just to store user information in inverted tree... and one have to build separated access security mechnisum that will be applicable to j2ee system....
    thanx...
    samir....

  • SSH login- how do I restrict access to a shared folder?

    I have created Shares in WGM for SMB and AFP access on my OS X 10.4.8 Server. However when I connect via SSH it's not restricting access to the folder based on the User Name I login with- I see the entire volume! How do I restrict access to a specific folder based on a user name setup in WGM? ACL's?

    Hey George,
    It sounds like you are trying to limit ssh/sftp users to a specific area, aka jails. The FTP server lets you 'chroot' users to a certain area making it appear as the root thus preventing them from navigating up the hierarchy, which is what I think you, and me and many others are trying to accomplish.
    The ssh compiled into OS X is missing this very needed feature. There have been a few documented workarounds, but they've either been too insecure or too clunky for me.
    I've dealt with the fact that my users can get to the root of the hard drive, and have just been very careful about my privileges (by using ACLs), thus preventing them from getting inside areas they shouldn't.
    There's a good write up here: http://www.schwie.com/brad/macosxsftpchroot/ and if you include the term 'chroot' in your searches, you should find a bit about it here too.
    And Roger, I think George meant the file sharing protocol used by ssh. man sftp.

  • How can I restrict options result to only one cost center?

    In transaction KS03 (Display cost Center), when I search for a cost center (hit F4), I have an option to drill down by Company code, controlling area, Cost Center Category, Person Responsible etc.
    My question is, how can I restrict users to select only controlling area they are authorized for ? Is there any authorization object I can use to restrict user's access to particular value in the table CSKS ?
    Thanks,
    Karan.

    Hi Karan,
    If you want to restrict on the values users can return when using F4 lookup then there may be some useful info in the following link:
    Authorization object for capacity planning CM03

  • HT204266 I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the di

    I live in China, have Dutch nationality, and no US address or Credit Card; how can I have access to products from the US iTunes store, in particular music, when such items are not available from the China iTunes store? In general, what are the differences between countries' iTunes offerings? Does one really need an address and a credit card for any country to be able to access that countries iTunes store? Why these restrictions?

    You cannot.
    You cannot use another countrys itunes store.
    You must be physically locates inside the borders of a country to use that countrys itunes store and a credit card issued in that country with a valid billing address in that country.
    The owners of the distribution rights of movies/music/etc differ by country.  These distributors decide who can sell their content in that country.
    Buy from another source if your countrys itunes store does not carry somehting that you want.

  • How Can I Restrict the times my BT Homehub 2.0 is ...

    How Can I Restrict the times my BT Homehub 2.0 is used?
    i want to make sure that the kids dont go back online on their wireless laptops after i have gone to bed!!!
    how can i restrict the useage times (say 11am - 11pm) for the hub/individual users - WITHOUT taking the plug out when I go to bed!!!
    thanks in advance
    Paul

    belial wrote:
    @meaga-byte: the second of those two options can be achieved by using the "BT Powersave" function. This does mean that *everyone* will lose wifi accessibility, so no watching iPlayer be for _you_ drift off! PowerSave will turn all your wifi off and back on between particular times.
    This seems a more user friendly option for thoes who are not ofay with IP addresses etc.
    Unless Paul wants to use wifi while in bed
    If I've helped, just click the Star - Every little bit helps
    If you can't fix it with a hammer, you've got an electrical problem.

  • CRM PCUI how can I restrict Users

    hi all,
    We are having 5 Portal Users for each User I assigned role in Portal called sales representative which is a part of standard CRM 5.0 Business package.
    Each user use to create Account, lead and opportunity.
    My requirement is, whenever User created account, lead and opportunity, the other Users should not see those details.
    So how can I restrict them?
    In CRM GUI we have created new role and changed,its working fine, But in CRM-Portal (PCUI)  its showing all other users details.
    There is any other way without using Access Control Engine (CRM-ACE), I can restrict the User.
    regards,
    Naresh

    Hi Naresh,
    While working on one project we had faced same problem for this we had used diffrent approch.
    for achiving this u can do below things:
    1) Create diffrent iview for each user. (Assign it for each user for PCUI Portal)
    2) In each iview in Show Advance Search window u have to make "Belonging To " field Freeeze with Value "Me"
    3) Using MAC(CRMC_BLUEPRINT_C) u can achive above steps.
    After doing above step u'll come to know that the respective user can only search and access only their Transaction and not others.
    Hope it'll help u, let me know if u want further help.
    Thanks,
    Dipesh.
    Edited by: Dipesh Date on Oct 8, 2008 1:21 PM

  • How can we restrict the users/planners for a planning book?

    Hi experts,
    How can we restrict the users/planners for a planning book?
    Thanks,
    Naga.

    Hi Naga,
    we describe this in our SAP Demand and Supply Network Planning rapid-deployment solution.
    Access this area directly via
    http://service.sap.com
    /rds-dpa
    In the configuration guide Demand Planning Settings, Macros and Chart
    Engine (DP3) read Appendix: Setting up Roles and
    Authorizations.
    BR Frank

  • How do i restrict access to gambling sites

    how do i restrict access to gambling sites on ipad mini

    You can put a filter on your wifi or use something like the K9 browser.

  • How can I restrict maintaining the same customer for different CC Areas?

    Hi All,
    I have a problem about maintaining customer credit limits via tcode FD32.
    User can maintain a customer in different credit control areas (CCA) and these CCAs are belong to different company codes.
    How can i restrict the user not to update another countries' credit limit?
    Your fast reply will be highly appreciated.
    Regards,
    Bilal

    Hi,
    I donu2019t think so there is any configuration for this kind of purpose.
    You can only do by the authorisation.
    Just give the user authorisation that only this person can change the value of the credit control area.
    And I think so that will be usefull also because if every body has authority then any body can change the limit which is not good.
    First they have to take permission from the authorised person and if he approved then only he should change limits.
    So just try out the user authorisation for your purpose.
    Regards
    Raj.

  • How can I restrict Adobe Creative Cloud to run for just one mac user?

    Can anyone help with this please ...
    (This is about how the Adobe Creative Cloud app works with OS X User accounts.  I have posted it on Adobe's Support forums, but nobody there had the solution.  Perhaps someone from the Apple/OSX end can help?)
    I'm running Adobe CC on a 2010 iMac (OS X Yosemite).  I'm delighted with it, however ...
    Several family members share the same iMac using separate user accounts.  Adobe CC seems to run on startup for all of them which is annoying for them as they get messages about updates etc, plus it takes up unnecessary system resources (particularly as we tend to use 'switch user' and Activity Monitor shows an instance of Adobe CC running for each user).
    It's not listed in the Login Items list under System Preferences->Users & Groups, so I can't disable it there for other users, However it appears as an icon in the menu bar for any/all users a few moments after logging in - so something is triggering it to run, but I can't see what. 
    How can I restrict Adobe CC to run just for my user account please?
    Thanks
    Richard

    The startup item is likely inside the /Library/LaunchAgents folder.
    It will be something named like com.adobe.creativecloud.plist.
    Move it out of the /Library/LaunchAgents folder into the User/Library/LaunchAgents folder for all the users that need it.
    I don't know if it will work, but as long as Adobe wrote the launch agent correctly, it will work. Given that it is Adobe we're talking about, my bet is no.

Maybe you are looking for