https

Accessing REST WebService in VB.NET

I am trying to access a REST webservice, however my code doesn't work and keeps throwing a HTTP 401 error see this example screen cap from Wireshark of the initial ssl request: image link This is from a Curl call to the same web address with the same details. The issue is that under my VB.NET version the "Extension: server_name" (and ...

Rack Web Server and https: tutorial?

Can anyone provide a link to a description or tutorial dealing with the setup of https and installint certs etc using the Ruby RACK webserver? Thanks ...

Java Servlet Filters and SSL

Do Servlet filters have any issues with detecting SSL requests? I have a filter that works okay with normal http request but it does not detect https request. Any advice here would be appreciated. ...

How to reload http window.opener from https popup?

I have an http window which opens a secure popup to submit a form to a third party web site. After the popup is closed, I would like to reload the opener so that it reflects the results of the form submission. Since the opener and the popup use different protocols (http and https), I can't do it in the straightforward way (window.opener...

Mod rewrite issue with https, strip www from url

we have a url for eg https://www.egdomain.com/ and the ssl is valid for egdomain.com. so how can i redirect all the requests from https://www.egdomain.com/ to https://egdomain.com/ the site also has normal http requests which works fine. I tried the htaccess below but still nothing RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] Rewrite...

redirects and search engines

Hi, in my web application I am using secure cookies to remember users. It works like this: If the connection is insecure redirect to a HTTPS url. Over the secure connection transmit the cookies and identify the user. Redirect to the original (insecure) url. So every client has to go through two redirects per session. Also the SSL ce...

jQuery youtubin plugin only working with a selector

I'm using youtubin to embed youtube videos on a secure page. It works whenever I specify a jQuery selector: <script> $(function() { $('#foo a').youtubin(); }); </script> <div id="foo"> <a href="http://www.youtube.com/v/kUini08olkQ&amp;amp;hl=en_US&amp;amp;fs=1"&gt;YouTube Video</a> </div> It doesn't work when I just call youtubi...

HTTPS and BASIC authentication

When I use HTTP BASIC authentication along with HTTPS, are the username and password securely passed to the server? I would be happy if you can help me with some references. I mean, it would be great if I can cite StackOverflow Q&A as a reference in, say, assignments, reports, exams, or even in a technical paper. But I think I am not t...

Are there any libraries or samples for non-duplex WCF chunking?

I'm looking for a way of implementing a file transfer service over HTTPS which uses chunking to cope with intermittent connectivity loss and to reduce the large timeouts required by using Streaming. Because the client may be behind firewalls, the Chunking Channel sample on MSDN isn't suitable. There is an old discussion about this on th...

Gzip compression not working over HTTPS

I have enabled gzip compression for my website via the following in my .htaccess: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-...

Using authenticated SOAP web service in Android

I have to securely connect to an authenticated SOAP web service in Android. The web service uses a self-trusted certificate. Unfortunately it seems that the usual Java libraries for this can't be used in Android. Could someone give me some pointers on how to do this? Is it possible to implement this connect just with HTTP POST request...

How to get a response from a https server using android sdk?

I have a problem of ssl exception when i upload data to a https server. It uploaded the data to the server correctly but when i get the response after uploading it throws an exception of ssl certificate is not trusted. I'm using the SAX parser for parsing xml file and i am using httppost method(). ...

How to download a secured webpage

I wish to programmatically download a webpage which requires a log in to view. Is there any sane way of doing this? By looking at HTTP headers and such, I can see the username / password being passed as POST data, but requesting a page with this info attached isn't good enough. I think cookies are involved too, and it looks like they con...

vexed! POST returns a 302 found object moved error in HttpWebRequest

Someone please help - been struggling with this lousy problem! What I'm doing - I have an ASPX page from which I originate a GET and then a POST to a HTTPS page with a view to login to it. I have spent quite a bit of time comparing my GET and POST construction to a browser GET/POST using fiddler (protocol analyzer) and my requests are f...

How to implement login functionality in an Android app safely?

Firstly, no OAuth or other things supported in the server-side, just a normal username-password database querying. I want to implement an android client for the web site. My questions are: How to login safely? with HTTPS? How to store user login information safely in the phone to make user login without any input in the next time. If ...

Google Ads doesn't support HTTPS. What alternatives are there?

It's pretty well known that Google Ads doesn't support HTTPS, but since I store my user's session in a bearer token/cookie I feel the need to encrypt this information... at a minimum so I can protect my end users from being hacked. What are my choices? I'm sure someone has come across this before. Ideas that may work include Changin...

Read timeout implement for WebService HTTPS call

I am trying to implement read timeout(timeout after specified duration) for WebService call over HTTPS. Its working fine over HTTP but its not over HTTPS. Any help will be appreciated. I am using Axis 1.4 ...

Secure online-game http get/post request (How to avoid repeated sending of the same http-req)

In my game/app (iPhone) the client side sends http requests (get or post) to the game http server. Requests have this form: gameserver.com/userId/givebonus/100 This for example would give the userId a bonus of 100. Now, we encrypt the server request and it will become something like: gameserver.com/42c34c234c234/ghjghjg4hj32g42jh2/42...

httpsURLConnection.getInputStream() hangs

Hi all, i try to build an https client for android and i need do get some request of an Servlet but when i use the getInputStream method the applicaion hangs. There is no error only hanging when i call the method. String url = "https://.../Servlet"; try { mPushLiteConnection = (HttpsURLConnection) new URL(url).openConnection...

Silverlight can't talk to HTTPS web service?

I've got a Silverlight app that talks to an HTTPS web service. On most machines it works fine, however, on some machines it fails consistently. On the machines it fails on, I receive a SecurityException when making a WebClient request to the HTTPS web service. The SecurityException itself doesn't give me any clues as to why it's reall...