What is the Purpose of c:\Users\Default\Documents folder? - windows

I need to move some files into the Documents folder of some users of our software.
On Windows machines, there is a folder c:\Users\Default\Documents. What is the purpose of this folder? Who can read/write to this folder? I thought perhaps it was a "universal" documents folder, and anything there would show up for every other user, but I added a file and that didn't happen.

The Default User profile is a template profile for all created users. Whenever you create a new user profile, the profile is built based on the Default User profile.
The Public Folder is for sharing files with all other users that in the system, or on network. All local users can access this profile, but cannot access your private user profile.
Source: https://social.technet.microsoft.com/Forums/windows/en-US/dbb36882-8552-4d18-af95-c73a9a40a0d3/what-are-the-default-and-public-folders-in-cusers-for?forum=w7itprogeneral

Related

How can I create hidden folder in windows with flutter?

I created a folder to store user and program data and I keep some assets there. But I want to make the folder private so that users cannot access it from outside.

how to get list of files in dropbox shared folder

I want to update my app's database with dropbox.
It should download some files and db file located in specific folder in my Dropbox account.
The algorithm is something like this:
1. App makes request to shared folder and downloads db by specified name(like myapp.db)
2. App reads db, get list of file to download and looking for them in shared folder
3. App downloads this files from shared folder
Is it possible? I don't want to show any authentication requests to user, and actually user can't be authenticated since he just get access to shared folder in my account.
Can I do this with Dropbox API?
platform is os x
You don't need to use the Dropbox API to do this. Just put the public URL for myapp.db into the app, and in myapp.db put all the URLs of the files. Then you're not even tied to Dropbox, since all you need is public URLs. Note that Dropbox has bandwidth limits, so if this is a heavily-used app, you might want to put these on a more appropriate host like S3. Using direct URLs gives you the flexibility to change hosts in the future.

dlfileentry guest permission liferay cannot view images

I am using Liferay 6.1. I needed a persistance folder where registrated users could upload images by articles in my personal page. The guest user could access to all articles in data base.
I created a folder from "Documents and Multimedia" from portal's Liferay and I can store and load datas without problems in this folder, but the guest user cannot view images' article.
I try change permissions from portal's Liferay from folder's permission, and in all checks of guest user, only are enabled two, "view" and "access", the two checks are checked but the guest user cannot see it.
page referer: http://pachonweb.no-ip.org
You can try create a account and try create a article with images uploaded.
If uyou need more information about my system, say me it.
Thanks in advance.
solve, the problem was in the portal's permissions. I added to guest user permissions to Document Library Visor and after click in the new link in the new row in the table and here check all checkbox.

Changing the home folder for ftp user in windows server 2008 R2

I created ftp account through DotNetPanel and for some reason now it throws eror "hexadecimal value 0x03, is an invalid character.". However I noticed that an user has been created on the server and I am able to login through ftp client.
When I am logging in, it points to C:\inetpub\ftproot folder. Now I want to change the pointing folder so that I can point this user to my website folder and I can upload the files for my website.
Any help please.
I realize you ask about user directories and my below answer was how to change the default home directory for your FTP site. Since you may still want to do that I have included it at the end of my answer.
Here is how to change the Users folder location:
Open the FTP User Isolation icon from inside the IIS website that houses your FTP and make the changes as necessary such as Isolate Users: User Name Directory
To Change the Default Home directory of FTP: First right click on the site you have FTP set up for and Choose Advanced Settings
Then change the PhysicalPath to one you want:

Create an FTP access to a folder with cPanel, but do not give access to subfolders

I created an FTP account for a user, to give him access to a specific folder, but I don't want him to access subfolders.
Is that possible?
On the cPanel documentation I only found the following statement, but it doesn't help so much:
Specify the FTP account's home directory.
The Directory field defines
the top level of directory access that
will be granted to the new account.
For example, an account with a
Directory assignment of /$dir will not
be allowed to access the / (root)
directory; however, it will be able to
access /$dir and all of its
subfolders.
You can set the directory permissions using any FTP program like FileZilla FTP, browse to the folder, right click on it and set the permissions using the permissions menu.

Resources