elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Tutorial básico de Quickjs


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP)
| | | |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo)
| | | | |-+  PERMISOS DE CARPETA
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: PERMISOS DE CARPETA  (Leído 6,026 veces)
Achernar


Desconectado Desconectado

Mensajes: 317



Ver Perfil
PERMISOS DE CARPETA
« en: 28 Junio 2007, 19:54 pm »

alguien conoce una api para restringir el acceso a una carpeta? no para compartir en una red, sino si en un winXP tengo varios usuarios... y quiero crear una carpeta a la que solo puede acceder uno de estos... ya pase del modo de navegacion en internet al modo e-naufragio. busco sobre PERMISOS, NTFS, USUARIOS, SEGURIDAD  etc. con unos clis se puede hacer, pero con apis no tengo idea y esta bueno. graxias


En línea

Mad Antrax
Colaborador
***
Desconectado Desconectado

Mensajes: 2.164


Cheats y Trainers para todos!


Ver Perfil WWW
Re: PERMISOS DE CARPETA
« Respuesta #1 en: 28 Junio 2007, 20:16 pm »

yo para hacer eso me nutro de las ServerTools que ofrece Microsoft, son paquetes con muchas aplicaciones basadas en líneas de comando que permiten hacer multitud de cosas.

Te recomiendo las RKTools de Microsoft, lo instalas y pruebas las aplicaciones hay algunas tipo "permcopy" (para copiar permisos de un directorio a otro) "whoami" (devuleve usuario actual y dominio), etc... te dejo el link:

RK-Tools for Win2k3

Sirven para XP tambien, te dejo el listado completo:

Citar
The following tools are provided:

    * Acctinfo.dll (documented in Readme.htm)
    * Adlb.exe: Active Directory Load Balancing Tool
    * Admx.msi: ADM File Parser
    * Atmarp.exe: Windows ATM ARP Server Information Tool
    * Atmlane.exe: Windows ATM LAN Emulation Client Information
    * Autoexnt.exe: AutoExNT Service
    * Cdburn.exe: ISO CD-ROM Burner Tool
    * Checkrepl.vbs: Check Replication
    * Chklnks.exe: Link Check Wizard
    * Chknic.exe: Network Interface Card Compliance Tool for Network Load Balancing
    * Cleanspl.exe: Spooler Cleaner
    * Clearmem.exe: Clear Memory
    * Clusdiag.msi: Cluster Diagnostics and Verification Tool
    * Clusfileport.dll: Cluster Print File Port
    * Clusterrecovery.exe: Server Cluster Recovery Utility
    * Cmdhere.inf: Command Here
    * Cmgetcer.dll: Connection Manager Certificate Deployment Tool
    * Compress.exe: Compress Files
    * Confdisk.exe: Disk Configuration Tool
    * Consume.exe: Memory Consumers Tool
    * Creatfil.exe: Create File
    * Csccmd.exe: Client-Side Caching Command-Line Options
    * Custreasonedit.exe: Custom Reason Editor (documented in Readme.htm)
    * Delprof.exe: User Profile Deletion Utility
    * Dh.exe: Display Heap
    * Diskraid.exe: RAID Configuration Tool
    * Diskuse.exe: User Disk Usage Tool
    * Dnsdiag.exe: SMTP DNS Diagnostic Tool (documented in Readme.htm)
    * Dumpfsmos.cmd: Dump FSMO Roles
    * Dvdburn.exe: ISO DVD Burner Tool
    * Empty.exe: Free Working Set Tool
    * Eventcombmt.exe: Check Replication
    * Fcopy.exe: File Copy Utility for Message Queuing
    * Frsflags.vbs
    * Getcm.exe: Connection Manager Profile Update
    * Gpmonitor.exe: Group Policy Monitor
    * Gpotool.exe: Group Policy Objects
    * Hlscan.exe: Hard Link Display Tool
    * Ifilttst.exe: IFilter Test Suite
    * Ifmember.exe: User Membership Tool
    * Inetesc.adm: Internet Explorer Enhanced Security Configuration
    * Iniman.exe: Initialization Files Manipulation Tool
    * Instcm.exe: Install Connection Manager Profile
    * Instsrv.exe: Service Installer
    * Intfiltr.exe: Interrupt Affinity Tool
    * Kerbtray.exe: Kerberos Tray
    * Kernrate.exe: Kernel Profiling Tool
    * Klist.exe: Kerberos List
    * Krt.exe: Certification Authority Key Recovery
    * Lbridge.cmd: L-Bridge
    * Linkd.exe
    * Linkspeed.exe: Link Speed
    * List.exe: List Text File Tool
    * Lockoutstatus.exe: Account Lockout Status (documented in Readme.htm)
    * Logtime.exe
    * Lsreport.exe: Terminal Services Licensing Reporter
    * Lsview.exe: Terminal Services License Server Viewer
    * Mcast.exe: Multicast Packet Tool
    * Memmonitor.exe: Memory Monitor
    * Memtriage.exe: Resource Leak Triage Tool
    * Mibcc.exe: SNMP MIB Compiler
    * Moveuser.exe: Move Users
    * Mscep.dll: Certificate Services Add-on for Simple Certificate Enrollment Protocol
    * Nlsinfo.exe: Locale Information Tool
    * Now.exe: STDOUT Current Date and Time
    * Ntimer.exe: Windows Program Timer
    * Ntrights.exe
    * Oh.exe: Open Handles
    * Oleview.exe: OLE/COM Object Viewer
    * Pathman.exe: Path Manager
    * Permcopy.exe: Share Permissions Copy
    * Perms.exe: User File Permissions Tool
    * Pfmon.exe: Page Fault Monitor
    * Pkiview.msc: PKI Health Tool
    * Pmon.exe: Process Resource Monitor
    * Printdriverinfo.exe: Drivers Source
    * Prnadmin.dll: Printer Administration Objects
    * Qgrep.exe
    * Qtcp.exe: QoS Time Stamp
    * Queryad.vbs: Query Active Directory
    * Rassrvmon.exe: RAS Server Monitor
    * Rcontrolad.exe: Active Directory Remote Control Add-On
    * Regini.exe: Registry Change by Script
    * Regview.exe (documented in Readme.htm)
    * Remapkey.exe: Remap Windows Keyboard Layout
    * Robocopy.exe: Robust File Copy Utility
    * Rpccfg.exe: RPC Configuration Tool
    * Rpcdump.exe
    * Rpcping.exe
    * RPing: RPC Connectivity Verification Tool
    * Rqc.exe: Remote Access Quarantine Client
    * Rqs.exe: Remote Access Quarantine Agent
    * Setprinter.exe: Spooler Configuration Tool
    * Showacls.exe
    * Showperf.exe: Performance Data Block Dump Utility
    * Showpriv.exe: Show Privilege
    * Sleep.exe: Batch File Wait
    * Sonar.exe: FRS Status Viewer
    * Splinfo.exe: Print Spooler Information
    * Srvany.exe: Applications as Services Utility
    * Srvcheck.exe: Server Share Check
    * Srvinfo.exe: Remote Server Information
    * Srvmgr.exe: Server Manager
    * Ssdformat.exe: System State Data Formatter
    * Subinacl.exe
    * Tail.exe
    * Tcmon.exe: Traffic Control Monitor
    * Timeit.exe (documented in Readme.htm)
    * Timezone.exe: Daylight Saving Time Update Utility
    * Tsctst.exe: Terminal Server Client License Dump Tool
    * Tsscalling.exe: Terminal Services Scalability Planning Tools
    * Uddicatschemeeditor.exe: UDDI Services Categorization Scheme Editor
    * Uddiconfig.exe: UDDI Services Command-line Configuration Utility
    * Uddidataexport.exe: UDDI Data Export Wizard
    * Usrmgr.exe: User Manager for Domains
    * Vadump.exe: Virtual Address Dump
    * Vfi.exe: Visual File Information
    * Volperf.exe: Shadow Copy Performance Counters
    * Volrest.exe: Shadow Copies for Shared Folders Restore Tool
    * Vrfydsk.exe: Verify Disk
    * Winexit.scr: Windows Exit Screen Saver
    * Winhttpcertcfg.exe: WinHTTP Certificate Configuration Tool
    * Winhttptracecfg.exe: WinHTTP Tracing Facility Configuration Tool
    * Winpolicies.exe: Policy Spy
    * Wins.dll: WINS Replication Network Monitor Parser
    * Wlbs_hb.dll & Wlbs_rc.dll: Windows Load Balancing Server Network Monitor Parsers

Usa la aplicación que mejor te convenga y la añades como recurso a tu proyecto de VB6, si te lo curras el usuario no se dará cuenta ni que estas usando third-party aplications.

Saludos!!


En línea

No hago hacks/cheats para juegos Online.
Tampoco ayudo a nadie a realizar hacks/cheats para juegos Online.
Achernar


Desconectado Desconectado

Mensajes: 317



Ver Perfil
Re: PERMISOS DE CARPETA
« Respuesta #2 en: 29 Junio 2007, 02:36 am »

gracias ||MadAntrax||, pedazo de lista fiera!!!! jajaja le voy a tener que pegar
un vistazo con un poco de detenimiento   :)

Estuve explorando un poco la ApiGuide y creo que lo que busco
tiene que ver con algunos conceptos que no manejo como ACE, ACL y SID
que por lo poco que sobrelei tiene que ver con los usuarios que tienen
permisos sobre ciertos archivos o carpetas, pero no se exactamente como
viene la cosa, pongo una lista de algunas apis que vi por si a alquien le interesa
o si alguien las conoce y puede aportar algun ejemplo, encontre algo en el msdn
pero larguisimo y bastante criptico al sumarlo a mi "BUEN" ingles  :P

AddAce

The AddAce function adds one or more ACEs to a specified ACL
ACE = access-control entry
ACL = access-control list


GetAce

The GetAce function obtains a pointer to an ACE in an ACL
ACE = access control entry
ACL = access control list


GetFileSecurity

The GetFileSecurity function obtains specified information
about the security of a file or directory. The information
obtained is constrained by the caller's access rights and privileges.


SetFileSecurity

The SetFileSecurity function sets the security of a file
or directory object. Windows NT 4.0 and later: You can
use the SetNamedSecurityInfo function.


AddAccessAllowedAce

The AddAccessAllowedAce function adds an access-allowed
ACE to an ACL. The access is granted to a specified SID.
To control whether the new ACE can be inherited by child
objects, use the AddAccessAllowedAceEx function.


AddAccessDeniedAce

The AddAccessDeniedAce function adds an access-denied
ACE to an ACL. The access is denied to a specified SID.
To control whether the new ACE can be inherited by child
objects, use the AddAccessDeniedAceEx function.
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Permisos a carpeta Windows
GNU/Linux
Hearts 6 6,452 Último mensaje 19 Diciembre 2010, 19:55 pm
por Hearts
Permisos de carpeta C:\Windows
Windows
ms3lok 6 7,914 Último mensaje 17 Junio 2011, 20:25 pm
por SuperDraco
Permisos en carpeta de Apache
Seguridad
sexto 0 3,231 Último mensaje 11 Octubre 2011, 10:56 am
por sexto
Saber si tengo permisos carpeta
Programación Visual Basic
Psyke1 4 3,675 Último mensaje 26 Noviembre 2012, 13:31 pm
por Karcrack
No se cambian los permisos a una carpeta recursivamente en Debian 7 « 1 2 3 »
GNU/Linux
ccrunch 24 9,763 Último mensaje 23 Enero 2014, 01:38 am
por _Slash_
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines