473,795 Members | 3,006 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can I pass https:// credentials in a URL string?

scubak1w1
53 New Member
Hello,

Can I pass https:// credentials in a URL string? I am not familar with this side of setting up servers, URL strings, etc...

Yep, seems counterintuitiv e - but it is server-server...

You can kind of ignore these details if you are not familar with this - I am using TileCache, part of OpenLayers, and want to get some data off a WMS Server that I have set up using MapServer, locally...

The TileCache configuration lines would be like this

[site_boundaries]
type=WMSLayer
layers=site_bou ndaries
url=https://192.168.0.15/cgi-bin/mapserv.exe?map =c:/Inetpub/wwwroot/MapServer/WMS/strathmore_wms. map&service=WMS &transparent=tr ue?
extension=png
debug=off
metaTile=true

Running this I see a HTTP Error 401: Access Denied when I troubleshoot...


My question is, can I build a URL something like below? What is the syntax?

url=https://192.168.0.15/cgi-bin/mapserv.exe?map =c:/Inetpub/wwwroot/MapServer/WMS/strathmore_wms. map&service=WMS &UID=user&PWID= password&transp arent=true?

Thanks in advance! Cheers!
GREG...
Jun 9 '08 #1
1 3418
harshmaul
490 Recognized Expert Contributor
Depending on the server side language you use you can pass details like that. however that question is more suited to the serverside forums. so which ever serverside language you use you should ask there!

but to get you started

php
Expand|Select|Wrap|Line Numbers
  1. $_GET["qsName"]
csharp
Expand|Select|Wrap|Line Numbers
  1. request.QueryString["qsName"]
Jun 17 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2322
by: Gill Bates | last post by:
I'm trying to login to a banking site (https://www.providentconnection.com) using vb.net. I've tried many variations of WebClient and HttpWebRequest; none of which I've got to work. My latest version is: Dim myWebClient As New WebClient Dim nvc As New NameValueCollection nvc.Add("Login", username) nvc.Add("Password", password)
0
1357
by: Amoril | last post by:
I am currently developing an app that will post an XML file ­(1 to 100MB+ in size) to an outside vendor application via HTTPS P­ost (doing this in a vb.net windows app). The vendor will then at some ­later date post an updated return XML file to my webserver (asp.net). T­he primary problem I'm having is getting the posted stream to load in a­n XMLDocument object. When trying to read the posted stream in­to the XMLDocument the following...
3
6893
by: Frank Schwarz | last post by:
Hello, we are implemting an application that uses a https connection for accessing a website. It is also possible to connect via http. With http every thing works fine. With https it is not possible to connect to the web site. The tunnel is established
2
2271
by: Jonathan Wax | last post by:
Hi, I spent the last week looking for an answer to the following question: How can you upload an xml file to an HTTPS server with a specific certificate. Basically doing the same as this html form in c# code: <form method="post" enctype="multipart/form-data" action="https://www.site.com/upload/"/> <input type="file" name="xml" id="xml="><br>
2
6948
by: Amoril | last post by:
I am currently developing an app that will post an XML file (1 to 100MB+ in size) to an outside vendor application via HTTPS Post (doing this in a vb.net windows app). The vendor will then at some later date post an updated return XML file to my webserver (asp.net). The primary problem I'm having is getting the posted stream to load in an XMLDocument object. When trying to read the posted stream into the XMLDocument the following error is...
2
1461
by: Greg Hill | last post by:
Hi I'm trying to access a web server that requires authentification for a https page. I can access http pages on that server but get "(401) Authentification Error" for the https page. I have a login for that page but don't know where my code is wrong. Any hints will be appreciated. TIA Greg Code:
3
1680
by: David B | last post by:
I'm looking for guidance to show developers information about implementing https using VB so that an application which needs to transfer files securely from within a VB client app can do so using https: I'm aware the capability is available but need some guidance about where to find the detailed information so I can help a developer learn something they do not already know how to do. Any help appreciated.
2
2602
by: Nader Shahin | last post by:
I tried to develop an application to download a file from an Https server. My application was able to download a file from a regural Http server. I used a WebProxy and i passed the NetworkCredential, but also it didn't work like:- Dim myProxy As New WebProxy("https://TheServername.com/", 443) Also I used that way to create a class to accept all kinds of certifications, and also it didn't work.
2
8183
by: =?Utf-8?B?TGVuc3Rlcg==?= | last post by:
A C# (.NET 2) application which uses the System.Net.HttpWebRequest object to request a resource over HTTPS is failing following the installation of a new proxy server on our internal network with 407 Proxy Authentication Required. The same request through the old proxy succeeds. The same request to an HTTP address through the new proxy succeeds. Also, the request succeeds when forced to use Basic authentication but fails on NTLM.
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10448
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7544
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2922
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.