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 


LIST REGKEYS / REGVALS bug

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Oct 31, 2006 1:47 pm    Post subject: LIST REGKEYS / REGVALS bug Reply with quote

I found a bug in LIST REGKEYS / REGVALS when testing something under Windows Vista. These commands are denied access to the registry in a limited user account because they ask for too many access rights (not just read only.) It would probably be a problem in a limited account under XP as well, but I haven't actually tested this.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


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

PostPosted: Tue Oct 31, 2006 10:29 pm    Post subject: Reply with quote

I wouldn't consider this a bug with VDS, as these are issues caused by
Vista's over zealous security implementations, which were not present
in XP when the current version of VDS was released.

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1537

PostPosted: Tue Oct 31, 2006 11:10 pm    Post subject: Reply with quote

Garrett, not necessarily. XP limited user may exhibit the same problem; a limited user account if trying to load a key using a modify or read/write token will also return an internal error denying permission. When calling the registry you need to make sure to specify the READ only token when loading a registry key; otherwise Windows is under the assumption you are attempting to load the key for any type of manipulation - it cannot read your mind and know you only want to read from the registry. This is not something which is configurable by VDS itself but it is in many langauges which allow registry access - specifically for this instance - you define what type of access to the registry you need.
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Nov 01, 2006 9:16 am    Post subject: Reply with quote

PG is right. It's an inexplicable oversight and I'm really surprised that no-one has noticed this before. The issue with requiring more than just read access was fixed for the @regread function a long time ago.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports 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