OpenSUSE :: Put IP Restrictions On A Single PHP File?

Jun 3, 2011

I usually use .htaccess to restrict access to directories. But what if I just wanted to secure a single php file? Is there some sort of code that would allow me to say ONLY THIS IP can access this PHP file?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Create An Index In A Pdf File That Has No Security Restrictions On It?

Feb 16, 2011

Is there a program available that would allow me to create an index in a pdf file that has no security restrictions on it? I know people can lock there files so I am not worried about thise but if I have open permissions on a pdf file how do I go about creating an index. It seems that by default you get the thumbnail view but I like to be able to click on a index list to go to a page.

View 2 Replies View Related

OpenSUSE :: KDE Action Restrictions Does Not Work?

Jul 6, 2010

I'm working with Opensuse 11.2 and KDE 4.3.5. I tried to restrict the run command (with Alt-F2) in the kdeglobals file:

~/.kde4/share/config/kdeglobals
[KDE Action Restrictions]
run_command=false

But there is no effect. With Opensuse 10.3 and KDE 3.5 it works fine.

View 3 Replies View Related

Server :: Multiple File Pointers In A Single File?

Apr 20, 2011

I have files a, b, c and d. They're all relatively large and are served up by a static web server optimized for this purpose. I can get requests that look like this:

/abcd
/ad
/bacdac
...

Each request is basically a request for a concatenation of the files in the order of the letters. The list of possible requests is finite, but large enough that disk space will run out very quickly and be very expensive if I create all possible files via concatenation.Is there a way to create a pointer file like abcd that is essentially a multi-file symlink that first points to a then to be then to c then to d? So if the contents of the files were as follows:

a: hello
b: there
c: whats

[code]....

View 3 Replies View Related

Ubuntu :: Single Font File - TTF ?

Feb 6, 2010

I've seen a lot of documents which use a really beautiful font. This is an example:[url] I mean the font which is used for "Problems", 'The area of a regular...'. Well, I found out that it's somehow called TeX font and I tried to download it. Unfortunately, this is font is separated in many, many files (Italic, Bold, Standard, Italic Bold, Math symbols, other symbols ...). It's horrible, because I would just like to use that font in OpenOffice. I wouldn't like to still change the style by choosing another font. Is there a place where I can download the combined TTF file? So I would just have the bold, italic, math symbols and other symbols in one font without having to choose the different one to just change a style or to enter a copyright sign?

View 4 Replies View Related

Ubuntu :: How To Encrypt A Single File In 10.04

Jul 5, 2010

How do I go about encrypting a file in Ubuntu 10.04?

View 9 Replies View Related

Ubuntu :: Add Single File To Many Zip Files?

Jul 19, 2010

I have a folder containing 5000+ zip files and I need to add a single file to each zip. How to do it quick way?

View 1 Replies View Related

General :: How To Encrypt A Single File

Sep 14, 2010

I need to temporarily store a file containing sensitive data in a public server, in a secure way. I think that encrypting the whole file would be much more secure than creating a passworded .zip encrypted file, because they could be subject of brute force attacks. Attacking a whole file of unknow format is harder, I think. I thought of something like the command:

Code:
$ programidontknow --encrypt mysensitive.file --output-file mumblerumble.file
then the program asks interactively for a password)
$ ls
mysensitive.file mumblerumble.file

So I get one file that may look like junk. I tried to search how to do it with GnuPG. But it seems that GnuPG needs much configuration I dont want to do. I simply want to type the password one time to get the file. It doesnt need to retain any configuration for what I want to do. In similar scenario, I would want to do this on a machine/account that is not mine.

View 7 Replies View Related

General :: How To Flatten Single File Directories

May 1, 2011

I've spent ages trying to build this and had a good look around for a way to do it. I have a directory tree which contains a set of folders and files. Some of the folders contain more than one file but most contain only a single one. I'm trying to move all of the files which are on their own in directories one level below the root into the root. E.g:

Root is: /volume3
Single file in a sub folder: /volume3/20110103/20110103.log
File should end up as: /volume3/20110103.log

I know how to flatten the entire structure fairly easily but its the conditional part which I can't figure out how to do.

View 1 Replies View Related

Ubuntu :: Combine MP3 Files Into A Single File?

Feb 28, 2010

I have an audiobook in 64 small mp3 files and I need them combined into a single file of any format in the proper order or order that I add them in. What program can I use?

View 9 Replies View Related

Ubuntu :: Restrictions Of MP3 And DVD

Jan 1, 2011

I try to understand the reasons for restricting DVD and MP3. My conclusion so far is that DVD is restricted due to software patents (and the DMCA). The software decoding DVD is open software, though. What is the situation regarding MP3? It is also restricted. Is it due to the same kind of software patents? As I understand, the MP3 codecs are not free software (like DVD)?

View 2 Replies View Related

Fedora :: Can't Get A Single File On Disc To Open / Solve This?

Apr 9, 2011

I haven't used Fedora or anything except Windows in my entire life. I decided I would wipe my windows machine and try out Fedora 14.

I did a fresh install, rebooted the computer, and inserted a disc containing the following software: Medialink Wireless-N USB 2.0 adapter Model MWN-USB150N. It a wireless USB adapter so that I can connect to the Internet.

I can't get a single file on the disc to open. The disc is fine because it opens on Windows just fine. When I try to load it here I either get: Unexpected Error: Error reading from file. or An error occurred while loading the archive or There is no application installed to run executable files. I can't do any updates I guess until I get connected to the Internet.

View 14 Replies View Related

General :: Resume Transferof A Single File By Rsync?

Sep 25, 2010

I want to copy a big file from my harddrive to a removable drive by rsync. For some other reason, the operation cannot complete in a single run. So I am trying to figure out how to use rsync to resume file copying from where was left last time.

I have tried use the option --partial or --inplace, but together with --progress, I found rsync with --partial or --inplace actually starts from the beginning instead of from what was left last time. Mannually early stopping rsync and checking the size of the received file also confirm what I found.

But with --append, rsync starts from what was left last time. I am confused as I saw on the manpage --partial, --inplace or --append seem to relate to resuming copying from what was left last time. Is someone able to explain their difference? Why --partial or --inplace do not work for resuming copying? Is it true that for resuming copying, rsync has to work with option --append?

Also if a partial file was left by mv or cp not by rsync, will rsync --append correctly resume the file copying?

View 1 Replies View Related

General :: Upload A Single File To FTP Server From Ubuntu?

Aug 15, 2011

I need to upload a single file to FTP server from Ubuntu. This operation should be done in a script (in non-interactive mode). What is the right syntax for ftp?

I'm trying this, to no avail:

$ ftp -u ftp://user:secret@ftp.example.com my-local-file.txt
ftp: Invalid URL `ftp://'

View 2 Replies View Related

Ubuntu :: Archiving Many (>100000) Files Into A Single File Via Cli

Mar 4, 2011

I'm trying to zip or rar >100000 files into a single file so that I can upload it to my server much faster than ftp downloaded it. Total they're all only 4gb, but because of the number of files Nautilus freezes just opening the folder they're in. They're all .jpgs and all in the same folder and I've tried a few commands but I keep getting error messages.

Anyone have a command that will archive all the files from a folder into a single zip (or rar, tar etc)? I can't just archive the folder because then I would have to move all the files out of that folder and just opening the folder to move them would crash it, and I don't have ssh into that server.

View 3 Replies View Related

General :: Show The Output Of Several Vi Files In A Single File?

Jan 3, 2011

i have 10 vi files . these files contain some system related information. i need to combine the output of all these files into a single file. the final file should contain contents of all these 10 files and the output should be in a tabular format.

is there any command in vi that i can use to create a table ?

View 9 Replies View Related

Programming :: Updating A Single Line In A Text File?

Dec 30, 2010

I have a text file called namelist.wps. In this file there is a line that reads:Code: start_date = '2010-12-26_12:00:00', '2010-12-26_12:00:00', I have to automatically update the year, month, and day of month. I set values for the year, month, and day of month using the following code in a c-shell script:Code: set y1 = `date +%Y`set m1 = `date +%m`set d1 = `date +%d` After I do this, how do I update year, month, and day of month, without changing any of the other lines in the namelist.wps file?

View 2 Replies View Related

General :: Join Different Pages From Different Pdf Files Into Single Pdf File?

Apr 13, 2010

i have started using linux for less than 6 months. now i have come across a problem with pdf files in linux. i want to join different pages from different pdf files into single pdf file.i have come across softwares that do this but they perform this using page numbers from pdf files.but i need to do this based on keywords in different pages .for eg there 3 pdf files

india.pdf
contents:languages
.........
........
places
......
......
achievments
......
[Code]....

now i have to create a pdf file langunage.pdf ,combining the topic languanges from three pdf files america.pdf,india.pdf,china.pdf how can i do it?? whether there is any open source software for doing this?.

View 3 Replies View Related

General :: Archive All Files To One Single File In Every 30 Days?

Apr 12, 2010

I have a directory there are many files are writing to it , I would like to write a script to do that , can please provide the advise .

archive all files to one single file in every 30 days , and then remove these old files .

View 9 Replies View Related

Server :: Speed Up Single Large File Copying?

Apr 22, 2010

I'm planing to copy a productive mysql innodb file from one server to another, and the file size is around 300GB. As the file is keeping changing all the time, I have to shutdown mysql instance and copy the large data file to other server as quickly as possible.I should have to find a way to speed up file copying ... I'm wondering whether there's a way to copy file block by block.If the destination side block has same content, then bypass it.

View 4 Replies View Related

Software :: Amarok Editing Single File Tags?

Jun 17, 2010

I just began using amarok as a media player and I have a bunch of untagged files which show up in the local collection as Untitled -> Untitled, but since there are multiple files I can't see what they are, and I can't play them. If I go to edit it, it edits all the untitled files to whatever I set it to, because there's a bunch of untitled files. Is there a way for me to add tags to them in amarok one at a time?

View 1 Replies View Related

Programming :: CVS Client That Comes As A Single Executable File Or Web Interface?

Oct 10, 2010

My senior project team at Penn State is starting to write our code, and I was looking for a revision control system to manage it. I was going to use CVS, but I can't find a client that doesn't have to install something on the local machine(we dont have administrative permissions on school computers). Is there a CVS(or Subversion or anything else) client that comes as a single executable file or web interface?

View 3 Replies View Related

Programming :: Connect Multiple Sockets From A Single Client To A Single Server And Keep Them Open?

Oct 13, 2010

I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?

View 1 Replies View Related

Fedora :: Get Rid Of Policykit Restrictions

Sep 5, 2010

How can I get rid of all policykit restrictions that fedora 13 has? I just upgraded from fedora 10 and of course my freenx sessions are again unable to do anything useful like mounting a drive. Difference is no GUI now to help fix this. So I would like to get rid of all restrictions.

View 6 Replies View Related

Fedora :: Join Multiple Mp3s Into A Large Single File?

Apr 15, 2011

is there an app, runs in Fedora, with a GUI, that can join multiple mp3s into a large single file?

I know Audacity can do this, but it's not really suitable for multiple files and I have voice notes that are in 10 minute chunks.

View 2 Replies View Related

General :: Download A Single File In 2 Parts To Different Locations Using Wget?

Jan 18, 2011

I need to use wget (or curl or aget etc) to download a file to two different download destinations by downloading it in two halves:

First: 0 to 490000 bytes of file
Second: 490001 to 1000000 bytes of file.

I will be downloading this to separate download destinations and will merge them back to speed up the download. The file is really large and my ISP is really slow, so I need to get help from friends to download this in parts (actually in multiple parts)

The question below is similar but not the same as my need: How to download parts of same file from different sources with curl/wget?

aget

aget seems to download in parts but I have no way of controlling precisely which part (either in percentage or in bytes) that I wish to download.

Extra Info

Just to be clear I do not wish to download from multiple locations, I want to download to multiple locations. I also do not want to download multiple files (it is just a single file). I want to download parts of the same file, and I want to specify the parts that I need to download.

View 1 Replies View Related

Ubuntu Servers :: Exim 4 Single Config File Location

Nov 16, 2010

I have a nice little interface that generates an exim config file and a script on the server to check for changes. Unfort I cant find where to set the config file location.

E.G. I have my script generate the file to /etc/exim/exim4.conf (could be /usr/share/foo/bar.conf just as easily)

How can I point exim in the direction of that file?

View 1 Replies View Related

General :: Copy A File To All Subfolders In A Directory Using A Single Command?

Jul 18, 2010

I'd like to copy a file, say widgets/water.txt, to all subfolders in the folder widgets using a single command. So if the folder widgets has 10 subfolders like widgets/blue, widgets/green, etc. I'd like to copy water.txt to all of them with one command.

I tried the commands

Code:

cp water.txt ./*/water.txt
cp water.txt ./*/

However these don't seem to work. The latter gives 'cp: omitting directory' errors.

View 7 Replies View Related

General :: Multiple Grep Outputs Appended To Single Row Of CSV File?

Sep 12, 2010

how to update a series of values from multiple grep commands outputs to be appended to a single row of a csv file? Work on a linux envir. The values from grep output will be numeric values.

Output sold look like:

1,3,4,5,7,0,5

Each of these values will be odtained from multiple grep commands piped with wc -l Is it possible to update a single row of a csv file if so pleas ehelp me with the command to be used to redirect the output into the csv file

View 5 Replies View Related

Programming :: Grep Multiple Values In Single Pass Through Log File?

Nov 13, 2010

I have a huge binary log file. There are lets say 4 id's that I want to find in a log file. I know that those 4 id's will be present in the log file and I also know in what order they will be present. I want to find 1st id from the log then 2nd id and then third id and so on..

Simple/inefficient solution is: Loop through the id's and then grep in the log file. Problem with this solution is for each id grep will search from the beginning of the file.

Better/efficient solution would be: Sine I know the order in which id's will be present in the log file. Loop through id's, grep 1st id and then move on to grep 2nd id and so on...this way I can grep all id's in one pass. Is this solution possible ?

I have 500000 + values to find in log files and I have to find efficient solution for it.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved