Sponsored Content
Operating Systems Linux Ubuntu How to authorisation resctricted access to public_ip:port/extension url in Ubuntu? Post 302909754 by baris35 on Saturday 19th of July 2014 05:24:29 AM
Old 07-19-2014
How to authorisation resctricted access to public_ip:port/extension url in Ubuntu?

Hello,
I am dealing with live video streaming server and have no problem with video quality. The main issue is that I am unable to restrict access to related address.

Apache2 is installed into system.

My objective is to make it "authorisation restricted access". There should be a username : password database and when somebody tries to login through that port nr, url query will be carried out and user wiill be accepted when user : pass
are matches.

Stream link is in below format:

Code:
http://public_ip:port/test

What I need to do is to convert it into this one:

or

Code:
http://public_ip:port/test?u=user:p=password

I read many different topics but I could not find the answer of my question; from where I should start up to proceed. Do you think that apache mod_proxy or nginx would be a solution for this? Or is there a much simpler way to achieve my aim?

PS: .htaccess and .htpasswd files are not solution for this case because port nr is not "80"

thanks in advance
Boris

Last edited by baris35; 07-19-2014 at 03:46 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

console access via serial port - settings

looking for the answer to console port access via 25pin serial. Can i tip in from another unix box for access? (5 Replies)
Discussion started by: simplimarvelous
5 Replies

2. UNIX for Dummies Questions & Answers

restrict tcp-port access

Hi Is there any way to restrict the TCP-IP port usage. I want to restrict TCP-IP port 1500/1550 to the oracle osuser. Tanks in advance. Remi (2 Replies)
Discussion started by: remivisser
2 Replies

3. Ubuntu

no wireless access on my laptop in ubuntu 9.10

Hii i have installed ubuntu 9.10 and my hp laptop has a wireless (this one works just like the normal volume button touch screen if u touch it wireless works or else it doesnot ) now after installing ubuntu it glows always red and never turn blue.. i have windows 7 on other partition it... (0 Replies)
Discussion started by: phoenix_nebula
0 Replies

4. UNIX for Dummies Questions & Answers

Check the URL is alive or dead with port number

Hi, I am running certain weblogic instance, in which it's hard to find which instance is stopped or running after stopping the weblogic , cause process status is for all the instance is same. A URL which shows the instance is stopped or running. But i have major challenge to check it through... (2 Replies)
Discussion started by: posix
2 Replies

5. Cybersecurity

Limit access in Ubuntu

can we use semantec or any kind of software in ubuntu/linux to limit access of a user to edit a specific file? example::: a. will not play media player or use usb. we will edit blacklist.conf to do this. however user should still be able to do apt-get install, shutdown, edit other files etc.... (1 Reply)
Discussion started by: lhareigh890
1 Replies

6. IP Networking

VPN ssh access over RDP port?

Guys, Can I use an open RDP port to gain ssh access to my Linux server running the other side of our firewall? I work from home on the odd occasion, we only have RDP port 3389 available once logged into the VPN. I would rather ssh into my workstation without the need for a desktop display. ... (3 Replies)
Discussion started by: general_lee
3 Replies

7. Solaris

Why I cannot access internet from Solaris guest using url?

Hi all, I'm using virtualbox bridged adapter Host:Windows 7 Guest: Solaris 11 while I can ping between the host and guess, I cannot access the Internet from the solaris guest. here's my settings: while I can ping 173.194.38.128 (which is actually google.com), I cannot ping... (3 Replies)
Discussion started by: jediwannabe
3 Replies

8. Shell Programming and Scripting

HTTP::DAV module errors - can't access URL

Hello, I am attempting to use the HTTP/DAV module in perl, and I have a script that transfers files to a website. However, I get the following error message: "Couldn't open https://www.thisismyurl.com/DAV: The URL "https://www.thisismyurl.com/DAV" is not DAV enabled or not accessible." ... (0 Replies)
Discussion started by: Scatterbrain26
0 Replies

9. Ubuntu

How to access website without port in Ubuntu 14.04?

Hello All, I am trying to open a webpage in ubuntu browser "xxx.com:8008" which works fine but i would like to open it without having to mention the port, Is there anyway in ubuntu where we can access the website without having to mention 8008 port.Thanks in advance. (2 Replies)
Discussion started by: gull05
2 Replies
IRSEND(1)							   User Commands							 IRSEND(1)

NAME
irsend - basic LIRC program to send infra-red commands SYNOPSIS
irsend [options] DIRECTIVE REMOTE CODE [CODE...] DESCRIPTION
Asks the lircd daemon to send one or more CIR (Consumer Infra-Red) commands. This is intended for remote control of electronic devices such as TV boxes, HiFi sets, etc. DIRECTIVE can be: SEND_ONCE - send CODE [CODE ...] once SEND_START - start repeating CODE SEND_STOP - stop repeating CODE LIST - list configured remote items SET_TRANSMITTERS - set transmitters NUM [NUM ...] SIMULATE - simulate IR event REMOTE is the name of a remote, as described in the lircd configuration file. CODE is the name of a remote control key of REMOTE, as it appears in the lircd configuration file. NUM is the transmitter number of the hardware device. For the LIST DIRECTIVE, REMOTE and/or CODE can be empty: LIST "" "" - list all configured remote names LIST REMOTE "" - list all codes of REMOTE LIST REMOTE CODE - list only CODE of REMOTE The SIMULATE command only works if it has been explicitly enabled in lircd. -h --help display usage summary -v --version display version -d --device use given lircd socket [/var/run/lirc/lircd] -a --address=host[:port] connect to lircd at this address -# --count=n send command n times EXAMPLES
irsend LIST DenonTuner "" irsend SEND_ONCE DenonTuner PROG-SCAN irsend SEND_ONCE OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UP irsend SEND_START OnkyoAmpli VOL-DOWN ; sleep 3 irsend SEND_STOP OnkyoAmpli VOL-DOWN irsend SET_TRANSMITTERS 1 irsend SET_TRANSMITTERS 1 3 4 irsend SIMULATE "0000000000000476 00 OK TECHNISAT_ST3004S" FILES
/etc/lirc/lircd.conf Default lircd configuration file. It should contain all the remotes, their infra-red codes and the corresponding timing and wave- form details. DIAGNOSTICS
If lircd is not running (or /var/run/lirc/lircd lacks write permissions) irsend aborts with the following diagnostics: "irsend: could not connect to socket" "irsend: Connection refused" (or "Permission denied"). SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory. lircd(8), mode2(1), smode2(1), xmode2(1), irrecord(1), irw(1), http://www.lirc.org. irsend 0.9.0-pre1 October 2010 IRSEND(1)
All times are GMT -4. The time now is 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy