Hide a folder from USER only but not server - security

I'm looking for programs that will hide a folder from the user, but the PC will stil be able to access it.
For instance, I have a folder which has HTML files, so I want the program to hide it and not allow user to see it unless he gives a correct password, but if I will access the folder from any browser inorder to see that content(the website), it will work.
Actually, the functionality is similiar to Windows hidden folders which you can set by clicking on the right mouse button -> properties -> hide ->apply, but I also want that inorder to unhide it and view it, you will have to supply a password.
Thanks in advance!

You have two options:
Set up a special user to access those files and run your web server in
that same porifle.
Use a Third party software: http://www.pcworld.com/article/230946/Passwords.html

Related

Overide Defaultappassociations.xml and let user select the application

I am working on Win 10 upgrade activity. As you know we can select application for file extension. So, those file will open on that app. e.g. html files only open in Chrome when user double click on that.
We can create XML file (DefaultAppAssociations.xml) and place it in C:\windows\system32
Now, I got the request to make one application default but let user decide if they want any other app. Is there any way to handle such things because defaultappassociations.xml will hard code this. Every time machine restart and it will set the same.
This is only possible as part of the operating system deployment or rather for newly created user profiles.
The command (official documentation):
Dism.exe /online /Import-DefaultAppAssociations:<path to exported xml>
However as I said you cannot alter existing profiles that way. Altering existing profiles in any way that is not the force via gpo is afaik not possible anymore because Microsoft does not want to allow it. A pretty stupid decision but at least you can tell whoever made the request that it is by MS design.

Open an Access file without the security warning message [duplicate]

i have a shared access application, i created an accde file for 32-bit machine, when user open the application he/she getting a security warning
is there any way to disable this message from appearing to the users
thank you
You have to set their computer to be a trusted source. In order to get around this issue, you will need to create a Digital Certificate. Digital Certificates are good only on the computer they are created on, so if this database will be used on multiple computers then each one will have to create a Digital Certificate.
To do this, you will need to perform the following tasks:
Click on Start -> All Programs -> Microsoft Office -> Microsoft
Office Tools -> Digital Certificate For VBA Projects (If you don’t
have this, you will need to contact your IT Dept.)
Enter a Certificate Name. Make it obvious like MyProgramName and Click OK
Open the Access database which contains the security warning you want to bypass
Go into the Design View of any Module
Click on Tools -> Digital Signature
Choose your Digital Certificate you created in Step 2
Save and close the database
Re-Open the database. You will now be prompted with a different Security Warning that states the file has been digitally signed.
Check off the “Always trust files from this publisher…” box and click the Open button
All subsequent times you enter this database, you will not be prompted with a security warning.
Note - I wrote the above for our company based on Office 2003. If you're using a more recent version, the instructions may vary somewhat.
other way is following:
click on file and then options
click on trust center and then trust center settings on the right
then click on trusted locations and add new location
browse for the location and save.
that's it.. done.. now no more warnings..
That is a standard warning to indicate the file you are opening has web links and macros.
If you trust the file, just say OK or “Allow”
You can control if this message is displayed: Office button > Excel Options button > Trust Center > Trust Center Settings button (I have no idea why they have this extra button, DUMB DESIGN! )
More Information can be found here
I have an Access database that processes other Access databases. I get OP's error when connecting to one of the other Access databases. To fix the issues, I opened the other Access database and clicked Enabled Content. Then, the Access database is trusted and OP's error doesn't occur when connecting to that Access database from another Access database.
You can create a registry key that will add the directory as a trusted location and will not show the warning anymore. What's nice about this method is that you can easily automate this to happen on the computers where you deploy your app. See method #2 or #3 in this blog: http://www.accessrepairnrecovery.com/blog/fix-microsoft-access-security-notice
And in case the blogs ever gets removed, here is the important bits:
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location20] “Path”=”C:\Database\”
“Description”=”My Database location”
Explanation about the key:
– The number “14.0” is the version of MS Office. You can change the numbers that represent the version you are executing.
– The “Location20” is a unique name that you assign. 20 can be any number that is not previously used. Other programs include default MS Access wizards, already have used other numbers. But if you want to make more than one path as trusted location, then each location must end up with different number.
– The “C:\Database\” is the physical path that you want to set to be as Trusted Location. You can place any path that you choose here.
By copy and pasting the above coding into a text file and save it with a name such as RemoveSecurityWarning.reg, you can then run the file into your PC’s registry just by making double click on the file.
The best way is to add the location of the document or the document itself to the Trusted Locations in Registry (if you use only Access runtime on client machines, there is no way to add it through the Office application, like you would do in Excel).
Here is the answer:
Adding Trusted Location to Access Run Time
You would need to create a new Location key and add the necessary Path (and Description) strings inside with the appropriate location of your file. This way the nag dialog will be gone and you won't need to worry about certificates.
Shared may mean it is located on a network share. It is not advisable to add a network location to the Trusted locations and you would need to set the additional flag AllowNetworkLocations to 1. I would advise you to copy the Access modules to the user computers, which would also make things better with the speed I believe.
If anybody else have this problem, it happened to me, with a shared file on a network environment, and the simplest solution was to install Microsoft Office service pack 2, even better is having automatic updates for Office turned on. You can find it here.

Why wont Coda 2 save passwords for ftp access?

I have recently switched to Coda 2 on Mac (OSX 10.8.2) and under site definitions the host, username and all other information save fine. It will not, however save my passwords. I DO NOT have "ask each time" checked (preemptive answer). Any help would be greatly appreciated.
Found a solution for this. If you open up Keychain Access, find the key that is named after your site so for example ftp.sitename.com. Double click it and go to access. Make it so that any program can use it. Then if you go back to Coda, enter the password once and d/c. It should be saved when you re-open the program :)
Great! But the only thing is missing, that you didn't mention how or from where to open KeyChain access. I used mac spotlight to find it.
Actual location to open Keychain access: under Applications > Utility > KeychainAccess
Just select the ftp.yourwebsiteurl.com
Doubleclick on it
There will be two tabs. Click on AccessControl tab
Select the radio button option : Allow all applications to access this item.
It will ask your system admin password to allow.
Go back to Coda > right click on your website > click Disconnect
Now reenter your password > Connect.
That's it. Your password will be remembered for further connections.
Coda 2.x has built in FTP, git, SSH, and more.
Coda's way of dealing with FTP is to have you set up your files as a "Site"
Once you set it up this way, it saves FTP logins, git logins, ssh logins, etc for all aspects of that site.
Do this:
Open Coda - Coda should automatically open at the 'sites' page. If not, press Command-1 to go to sites.
Right-click, and select 'add site'.
Fill out the details for the site, and save.
Whenever you open that site, Coda will automatically connect to the server.
It's pretty easy to walk thru the dialog options.

Mapping drive to SharePoint 2010

Maybe someone can help me with this one. I am able to map a SharePoint folder to a drive just fine , however if I log off then log back in , there is a red X on the drive , if i double click it and put my credentials then it fine again.
My question is , How do I avoid that ? how can I make it so that when I login, the drive is ready to go and I dont have to click on it and type my password?
Open IE
Tools -> Internet Options -> Security
The its either "Trusted" or "Local Intranet" depending on your settings
Sites -> Advanced (or Add) -> Add
then add file://*.yourdomainname.com, or http://*.yourdomainname.com
Create the perfect user first.
On a fresh profile
Populate the trusted list in IE with everything required.
Open Regedit and extract the keys at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
This will be your importable reg file.
On the profile you wish to provision run the script that.
First imports the reg file using
Reg Import "%~dp0\TrustedSites.reg"
or something similar.
Then opens internet explorer to a SharePoint page, using the UNC path, that everyone in the company should have access to, but still requires O365 credentials.
Sets a pause, so once Internet Explorer has completed loading, you can tell the batch to move on. This can also be done with "sleep". IE must fully load and save the credentials to the page.
Kills ALL open IE instances using
Taskkill /IM "iexplore.exe" /F
Then using the following command you can map directly to that SharePoint folder.
net use <Your drive letter>: "<Full UNC Path>" /p:yes
If you have multiple sharable folders add another line like the one above. It will only map drives drive to the resources THE CURRENT USER has privileges to access. All the rest will show as "path not found" or something similar. The script will move one at a time through the resources and map the appropriate drives to the user.

My images ask for a password to the local network (Under ASP/IIS)

Not quite sure how to troubleshoot this. I'm maintaining an ASP site, its mostly static, but there's this one include page which brings the menu.
Just recently I replaced some images, but now when I try the site, I get a prompt for a password as if It were looking for something on the local network!
I checked, all image paths are written up correctly, all images are unblocked (a W2k3 safety feature) and all images are set to allow-all on all users ... yet still, I get a password prompt!
Here's a sample page where it happens: http://www.iossolution.com/company/aboutus.asp (Windows only, it seems)
Thanks.
/mp
mauriciopastrana,
Check that the appropriate user has permission on the files in the windows file system. For W2K3 and IIS6 I think that user is typically NETWORK SERVICE.
Also check that the images directory has the intended authentication setup in IIS. You'll likely want to have the "enable anonymous access" checkbox checked and the "Integrated Windows Auth" box checked. You might also need to make sure that the IUSR_SERVERNAME user has access to the images.
Good luck!

Resources