|
Can I use an includes folder on one website and set up "trusted domains/IPs" that are allowed to access the files in this folder (all other domains/IPs are restricted)? All the sites are on the same shared hosting server, the global site has a dedicated...
Started by Peter on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
If all the websites are on a shared server you can make a folder readable and they can include include("/blah/globalphpshare/greet.php");
If your host enables webroot protection in apache, the file://www.somedomain.com/?query=string'); ....
|
|
Hi.
Having learnt a bit about the subject, can anyone tell, what is the real difference between POSIX shared memory (shm_open) and POSIX mapped files (mmap)?
Both seems to use the /dev/tmpfs subsystem, rather then older IPC mechanism.
So is there any ...
Started by SyBer on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Shared memory can be implemented via memory mapped files is that that shared memory is built on top of mapped files, but This Page seems to indicate that the ability to use memory mapped....
The distinction is not always clear.
|
|
I'm migrating a lot of small custom scripts and data from a Linux system to another.
On the old system we had a shared user that owned most of the files and they where located in that users /home , but on the new one we would rather login with our own...
Started by Daniel on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Or you may wish to separate out the....
Globally accessible user.
I'd almost certainly suggest using /usr/local.
/home/shared works too.
The short answer is; Wherever you like :)
I like to use something like /projects, /shared or /common.
|
Ask your Facebook Friends
|
We have a client server software that needs to be updated. I need to check if the file is currently being accessed. Is this possible if so how Delphi code if possible. The only place I can see if the file is open is under the shared folders open files...
Started by Jason on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I found this similar item , someone.
Of the file is up to date, I then run this locally cached copy.
|
|
We're interested in moving from a source control system that supports the concept of shared or linked files.
A shared file means: a file modified in one project, is automatically updated changed in every other project that uses that same file. It does...
Started by Ian Boyd on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Assuming you had a submodule REPO/share , each repository to be upgraded would need a file from one project into another, and the second copy will be kept up to date with no additional of the file....
Of "shared files".
|
|
I have an XP Pro system using Simple File Sharing. Sharing is enabled for a particular folder, as well as "Allow network users to change my files".
When copying (reading) the shared files from another machine, some of them (about 20 out of 1000, give ...
Answer Snippets (Read the full thread at serverfault):
Here's what a "bad....
This means that if the files (at source) were set to not inherit permissions from the parent folder, when they are cut this issue.
Classically, this can be caused by users cutting and pasting files into a share.
|
|
If I download files using Ubuntu, and store them on my Vista partition, when I go to Vista, they all appear with the sharing icon on them. In the sharing dialog (right click > share > change permissions) it says the following (doesn't mean anything...
Started by DisgruntledGoat on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Sharing is about sharing files over the network....
If I unshare c:\share, any new objects will not be shared folder shared and it is inheriting the setting.
This is for both folders and files.
It not to be.
|
|
I have mounted a cifs file on two Linux machines. I have a Perl script which can modify the shared file. How do we lock the file over network in this scenario?
Started by Anandan on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I just found its working :) this link might be useful
http://www.cpan.org/scripts/file-handling/flock.using.fcntl.example
Thanks for your response
_Anandan
If you're trying to do this over NFS, try....
Like we can fcntl() for locking files.
|
|
I have some doubt about how do programs use shared library.
When I build a shared library ( with -shared -fPIC switches) I make some functions available from an external program. Usually I do a dlopen() to load the library and then dlsym() to link the...
Started by nick2k3 on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The shared library names are like between headers files and libraries.....
They are then searched for when launching the linker the proper instructions to link your shared library.
You can link shared libraries like static one.
|
|
Hello, fellow anthropoids and lily pads and paddlewheels!
I'm developing a Windows desktop app in C#/.NET/WPF, using VS 2008. The app is required to install and run on Vista and XP machines. I'm working on a Setup/Windows Installer Project to install ...
Started by Lyman Enders Knowles on
, 8 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Yes, yes! I could put the files....
Thanks for taking the time to answer Peter.
You can then add files to that entry in the File System hierarchy.
Add a Common Files Folder special folder to the File System for the setup.
|