|
That's not the way to do it - your question implied that you were running this from the web, but you are actually talking about a client side application here. What you need to do is to act like a filter instead - don't worry about the browser part.
Basically, your code needs to intercept outbound requests and check to see the destination.
|
|
|
|
|
That's the wrong way to approach this. You can't possibly individually support the dozens of different browsers out there.
What you should be writing is a proxy server. This is standard, off-the-shelf functionality for any proxy server so you'd be re-inventing was has already been written dozens of times.
|
|
|
|
|
Using Javascript can easily help you get the browser you are currently accessing.
You may be able to get a list of installed browsers using ActiveX. This will not make your site very secure and users may refrain from using it.
|
|
|
|
|
Abhinav S wrote: You may be able to get a list of installed browsers using ActiveX. That'd exclude Lynx, and my portable SeaMonkey browser. So, while one would get a list, it's not guaranteed that any of those are actually used.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Thanks For Reply ..Will You Please Tell me How to Use ActiveX Control ?
............
|
|
|
|
|
Member 8134979 wrote: Will You Please Tell me How to Use ActiveX Control ? I suggest you research it yourself first. I'll gladly help if you get stuck or have specific questions.
You should learn how a browser and a server works, before trying to secure them. What you'd want is called a firewall. ActiveX isn't going to help, and identifying browser is also not going to help. I don't need a browser to download some pr0n.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
ok... Thanking You To All.................
|
|
|
|
|
You can't retrieve a list of the installed browser using a server-side language.
Even if you could it would be practically useless since some browsers would not appear in that list (as SeaMonkey, for example).
What you can try is to get the browser which is used to access your website, but even that stands on shacky feet since not every browser transmits its name correctly.
You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, the tallest guy in the NBA is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named "Bush", "Dick", and "Colon."
|
|
|
|
|
while running ,on binding navigator "delete" , add and all buttons aren't displaying their own color
means delete ---red
|
|
|
|
|
More info is required. Are you facing this problem in WCF or WinForms?
|
|
|
|
|
hi all am facing problem with binding Navigator AddNew Item in C#.
here is my code:in AddNewItem_Click
inventoryBindingSource.Insert(inventoryBindingSource.Position +1, inventoryBindingSource.List);
what can i do;
it's giving error as
Cannot insert external objects to this list.
|
|
|
|
|
how to convert any web page into pdf by passing the url of the page on button click event
|
|
|
|
|
Use the ASP.NET forum.
Veni, vidi, abiit domum
|
|
|
|
|
|
|
We have set of business entitles which are serialized using XML serialization and that XML is encrypted using TripleDESCryptoServiceProvider() .NET API and stored in SQL server database.
Everything was working fine.
On 10/10/2013 suddenly we observed that our application started throwing attached error and stopped working.
After lot of investigation we found that our application is unable to decrypt previously encrypted XML data stored in Database.
Above problem is reproduced at various user production sites and they are unable to use our application.
This problem is critical as our users are unable to use our application.
After lot of RND we found that one of the critical windows auto update installed on 09/10/2013 or 10/10/2013 (attached as a sample) is causing the problem.
i.e. After roll backing these updates or reinstalling .NET 4.0 framework does resolve this critical problem.
Currently we are handing above issue at our customer's live environment on case to case basis.
We need to find out proper solution for above problem as soon as possible. Please help us to resolve above critical issue as soon as possible.
$@
|
|
|
|
|
Saurabh.abhyankar wrote: Please help us to resolve above critical issue as soon as possible. You've got the wrong forum; this is a sysadmin thing. Secondly, we're volunteers. If you "need" support now, you can contact Microsoft.
ASAP means to me "skip this".
Saurabh.abhyankar wrote: After lot of investigation we found that our application is unable to decrypt previously encrypted XML data stored in Database. Does it throw an exception? Does it return garbage? Can you reproduce it?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Saurabh.abhyankar wrote: After lot of RND we found that one of the critical windows auto update installed on 09/10/2013 or 10/10/2013 (attached as a sample) is causing the problem. Then why aren't you talking to Microsoft about it?
Veni, vidi, abiit domum
|
|
|
|
|
Hi, we have a requirement to develop an User Interface which should be able to deploy in Linux as well as Windows XP/7. Please can you help me in with some tips.
|
|
|
|
|
Use MonoDevelop and write the UI GTK#, which is compatible in both Windows and Linux.
Also, use good MVC or other UI separation models.
|
|
|
|
|
WinForms is also compatible with both Windows and Linux, and a bit more widely known.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Did you eve seen WinForm on linux?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
|
Of course. I asked if you ever seen it. It looks terrible...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: Did you eve seen WinForm on linux? Yes, I'm actively programming in it. It looks just like WinForms, but then how it'd look under OpenSUSE.
You might find it ugly, I say it's a recognizable UI with a low learning curve. And a uniform UI, across platforms. No obscure swiping-gestures or hidden charms.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|