How do you give access permissions to another drive in the local machine on a web browser? - html

I have an html page where a user can see view their course certificates when they click on "View Certificate", am using PHP for backend. The certificates are stored in the D drive because of more storage capacity. When the link is clicked I get the message "Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server."
The URL does show the path to the certificate "site.org/courses/certificate/file:/D:/courses/uploads/5fcffcb32e2201.64085268.pdf" - it just doesn't load the certificate because of the lack of permissions.
So how do I grant permissions for the web server to access that folder on a different drive?

Related

WP App - Use SkyDrive without user logging in

Is it possible for a WP application to access the user's SkyDrive files and folders without prompting them to log in to SkyDrive and grant access? If so, how do you get the session? I don't see why a user who is already logged into the phone needs to log in again when they can grant access when the app installs.
No there is no such an option - you need to sign in at least one time - after that it's possible to remember login and password.
I'm not only sure if it's possible to see files which are set public without signing in.

App to login on google+

I have had a look at some of the oAuth2 documentation and a few of the Developer videos. Tried to follow some examples but failed - never tried anything but VBA before.
My question is will this be possible?
What I would like to do is log out a user after they accept my app and log back in as a specific user in our domain for them to download a Chrome extension.
User accepts setup for uploading to database
App logs out user and logs in DB-Account
Relevant URL is opened in Chrome
Save to Google Drive extension is downloaded by user
Setup complete - yes, will sign out the DB-Account from Chrome

phpMyAdmin on IIS7.5 permission not granted

I am trying to get phpMyAdmin working on a server with IIS7.5 installed. We have done the following and cannot get access to phpMyAdmin working:
MySql installed
Windows Server 2008 running IIS7.5
Followed this tutorial: enter link description here
Created a new site and added phpMyAdmin directory beneath it as an application (I can see the subdirectories of the phpMyAdmin root on this application)
Navigating to the subdomain set up for the application indicates we do not have sufficient permissions. I gave users and administrator read/write access for the site and the application:
HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.
I feel like we are very close, but I am unsure what other permissions need to be set to gain access.
I'm not used to IIS 7.5, but I believe typically you would need to give the IIS user read permission on the phpMyAdmin folder, files, and subdirectory. You mention giving permission to users and administrators, but I don't think the IIS user would fall in to either of those categories.

Google Drive SDK: To copy files from a user to another user via Domain Super Administrator access right

Say, I am a Domain Super Administrator. And, there are User A (source - files to be copied from) and User B (destination - files to be copied to). Is there any Google Drive SDK API available for this feature?
When I read this: https://developers.google.com/drive/v2/reference/files/copy, this API allows only to copy into my own Google Drive.
Please help. Thanks.
Use domain-wide delegation to impersonate each user https://developers.google.com/drive/delegation.
Authenticate as source user and share file with target user https://developers.google.com/drive/v2/reference/permissions/insert
Authenticate as target user and copy source file to produce target copy of file owned by target user https://developers.google.com/drive/v2/reference/files/copy

Google Drive upload from webserver

I'm trying to make a service that runs on a webserver and can upload files to Google Drive,
so that people can sync the files to local-drive using the Google desktop application.
So I tried the Drive API but it requires a webbrowser to authenticate.
This would be a possibility, but I don't know to get the access token programmically.
Even if I had the access token, I wouldn't know if it just works forever.. It seems to have an expire date?
I wouldn't want the service to suddenly not working, because the token has expired.
Than I learned about Service Account, and finally got it working, but it seems to have its own space that i can only access with the service account.
I don't know how to share the files from the service account to a regular account, as people need to sync it locally.
So a found a video about user impersonation, in which he showed a page about given access to a service account to impersonate another user.
But i don't know where to find this page.
Looking at: http://support.google.com/a/bin/answer.py?hl=en&answer=162106&topic=2759255&ctx=topic
It says it's in Advanced Tools > Manage third party OAuth client access (under the Authentication section).
But where is the Authentication section? Do I need to create a Google App to do this?
The question is: How upload files programmically to Google Drive without any user intervention, so that they can be synced locally with the drive desktop-application.