friends,
recently i cam through this term "live configuration flle".what is this?why do we use this?
here is the text in which i found this "Software
installations like this one often ship with a sample configuration file to help guide
the process of setting up a custom configuration. Most users will simply edit this
file, changing only the settings that need to be changed for their environments,
saving the file not as a .sample file but as a .conf file. In this situation, the user
could have a live configuration file with the term zebra.conf.sample still in place.
".could you please help me?
From the text you provided, the term "live configuration file" appears to mean a configuration file that is being used by a running/deployed application.
Related
Is it possible to disable AD users from saving a text file as a .bat format via GPO? If yes, how is it doable?
Thanks in advance
Since you didn't specific where you wanted to prevent the saving of files, I will give a general answer.
You can users prevent from saving files with a specific extension (file screening) on network shares using something called File Server Resource Manager.
You can prevent users from executing or running files having specific extensions through a GPO.
One cannot prevent a user from saving a file with a specific extension to their own workstation.
So, depending on the Microsoft technology you are using, and where the file is being saved, the overall answer is it depends.
I have a requirement where my app records the video files and stores them in app's documents directory. I want no other app should access these files other that my app. I have set file sharing enabled to NO. But I see some apps like iExplorer can show the video files saved under my app's documents directory. Can I know how this can be avoided.
I have also heard that by mounting the iOS device disk to any unix/linux machine can list out all the contents of the app sandbox.
So I want to know how to prevent this happening.
I tried with adding NSFileProtectionComplete as a attribute when saving the file. But this didn't solve the problem. Please help me on this.
Thanks,
I realize this is a little old but in the hopes of helping the next person who stumbles upon this:
You're probably looking for an encryption solution, combined with the standard steps for hiding your app documents folder as you've mentioned. Encryption won't necessarily hide the files but it will make them unreadable.
NSFileProtectionComplete only encrypts files when the device is locked. See the App Programming Guide for iOS section Protecting Data Using On-Disk Encryption. Also, keep in mind that when testing this, you'll have to wait 10-20 seconds after the device is locked before trying to verify that the file is inaccessible. If you want the encryption to persist past that point you'll have to handle it yourself. Something along what's described in this SO post perhaps.
I'm trying to find something about CakePHP configuration, and I'm not having any luck googling and looking around.
I want to make a CakePHP app use "database.local.php" instead of "database.php", but I can't find the line in the app/Config files where the database file is defined as "database.php".
Does anyone know where it is defined so I can change it?
Thanks for your help ahead of time!
If i get it right, you want to have a local database... for development purpose?
If you want to switch the database due to your server-name, you can try to use:
http://www.edwardawebb.com/web-development/cakephp/automatically-choose-database-connections-cakephp
Not quite an answer for you, but I wouldn't change it.
If you're using different files for different environments (dev, staging, production etc) you could use your naming convention, but have your deploy process rename the relevant file to whatever CakePHP's expecting. That is, have:
database.local.php
database.uat.php
database.live.php
or whatever, and just rename to database.php when deploying your code to one of those environments.
is TYPO3 doing some indexing of the filesystem into database?
We try to add a video to our page here, but video isn't selecable from the file window altough its put into the right directory.
The Fileadmin says "9 records found" in the folder and is displaying only 7 Files, because someone might have deleted two of the files out of the folder.
But the new video file we've put there won't be displayed, too.
Is there any way to manually start TYPO3s file indexer?
I don't think TYPO3 does any indexing of the files; it just reads the list of the files straight off the filesystem. So there's no file indexer to start.
My suggestion for your problem would be to check the permissions on the file you uploaded and make sure it's readable by whatever user the Web server is running as ('apache', 'www-data', etc). If it isn't readable by the Web server it won't show up in the fileadmin area.
Okay guys, I feel stupid right now - altough I can't really explain the behavior...
What happened seemes to be some strange caching failure.
If you click on the "choose file" button it shows the window as seen in the screenshot above, displaying the last used folder.
But: this view is somehow cached.
If you select the same folder again from the file tree from the left, the view is updated and the missing files are shown -.-
Well, I was going through an application where a find a variable named as "language" in the config file of the Cake application.Then I also found the same thing in the Bootstrap,where it called the same thing from config file.Could anyone explain me what does this thing do from the config file.Is there any rule Globalization behind this...???
please explain...!!!
The documents explain it pretty well:
http://book.cakephp.org/view/162/Internationalizing-Your-Application
You basically setup your language files, then the configuration setting in the core.php file decides which language you are going to display.
The neat thing about Cake Localization is that all you have to do is wrap all of your content in __('') which will automatically localize your content.