forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Blacklist / Whitelist for IE

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Jul 06, 2009 2:19 pm    Post subject: Blacklist / Whitelist for IE Reply with quote

Is there a way in VDS with a DLL or something that I can create a blacklist / whitelist to block/allow websites in IE? I have a client that is needing this feature and is looking to buy software that can do it. I know it can be done in IE but there are many computers that is needs this and having a file online that my program can pull from to block/allow site would be better than setting up each computer every time a new site is added.

Thanks!

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Jul 06, 2009 3:43 pm    Post subject: Reply with quote

You won't need a dll for this. You can simply make a program that edits the "Hosts" file on the system. It's a list of IPs or URLs that tells the system what to do if someone tries to visit a specific IP or URL. Typically it's been used to redirect users to nothing, hence, it blacklists the site in question.

Problem is, it's been so long since I played with this file that I don't remember how it exactly works, or what format it takes etc. But! Search the net, you'll find a plethora of info on it.

If that's not good enough, then yeah, maybe you will need a dll.

Isn't it possible with current dll's to make a proxy server? I could swear I remember seeing a proxy server example before in the realm of VDS. In fact, I think even I made a proxy server using either SADE's net dll, or PK's net dll.

Or! I shouldn't read forums so early in the morning without a few cups of coffee under my belt first...

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
briguy
Contributor
Contributor


Joined: 09 Aug 2007
Posts: 79

PostPosted: Mon Jul 06, 2009 3:51 pm    Post subject: Reply with quote

If these computers are part of a domain you can use Group Policys to create the allowed sites under IE security tab and then select trusted or restriced sites. Just an option.
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jul 06, 2009 3:52 pm    Post subject: Reply with quote

There is no VDS DLL that works inside of IE. There is no way to make a VDS DLL work inside of IE. I would suggest that you either put in a proxy server like Garrett suggested or use a Firewall. I do have a GadgetX demo of an ActiveX control that acts as a firewall that you can easily configure to block specific IP's and ports.
_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
briguy
Contributor
Contributor


Joined: 09 Aug 2007
Posts: 79

PostPosted: Mon Jul 06, 2009 3:59 pm    Post subject: Reply with quote

Good idea dragonsphere.. also you could make it a service so a typical user could not disable it. If you have VDS 6
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jul 06, 2009 4:03 pm    Post subject: Reply with quote

Now what I can do is build an IE addon that would send messages to your application and depending on the response from those messages it would allow/disallow navigation. I don't know if this would be acceptable due to all the security around IE addon's and short of group policies the user could disable the addon.
_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Jul 06, 2009 4:06 pm    Post subject: Reply with quote

I think the proxy(or firewall) would be the less troublesome way to go on this one. Only security to deal with is UAC initially for install. Messing with the browser directly could run into all sorts of unseen issues.
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
briguy
Contributor
Contributor


Joined: 09 Aug 2007
Posts: 79

PostPosted: Mon Jul 06, 2009 4:13 pm    Post subject: Reply with quote

dragonsphere,

if you had a firewall persay looking at anything going out say on port 443 / 80 / 8080 that matched a list then deny it.. wouldnt that work. If it was a IP do a lookup on it before going out. "that would be slow" but it seams to me that could work? Might be missing the big picuture though.

Hence Proxy
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jul 06, 2009 4:28 pm    Post subject: Reply with quote

Actually I would perform all the lookups for the URL domains and create a list of IP's then just block all ports to those IP's not specfic ports because you wouldn't want a back door to come up. Also the firewall itself runs as a kernel mode driver and the ActiveX control communicates with that driver. The firewall blocks at the hardware level not at the user level like a proxy server does.

Actually the activeX control is just a convience and I could get rid of that and allow VDS to directly communicate with the driver using a New DSU that I have been developing. The only issue with using VDS itself is that it is single threaded and would be slow at best for this situation.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Jul 06, 2009 4:46 pm    Post subject: Reply with quote

I guess what I really need is to be able to block ALL websites except ones I specify. I need it to work in my program as well as IE. I tried looking at the hosts file but that just blocks specific sites. Not what I am looking for.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jul 06, 2009 6:05 pm    Post subject: Reply with quote

LiquidCode wrote:
I guess what I really need is to be able to block ALL websites except ones I specify. I need it to work in my program as well as IE. I tried looking at the hosts file but that just blocks specific sites. Not what I am looking for.


Is your program hosting IE? IMHO a proxy server would be the best way to do this. Here is the link to the Proxy server by PGWARE http://www.vdsworld.com/search.php?view_mode=fileinfo&file_id=51

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Jul 07, 2009 2:10 am    Post subject: Reply with quote

I tried the script. It works.. kind of. It crashes a lot and it only does the redirect, well part of it and doesn't do the deny at all. It might be because I am using IE 8? Not sure. I may have to give in to another software program. Sad
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group