Hi Experts!
                   Below is the "pre-lock.bat " Script ....

Only User who lock the file can unlock the file. Other users are forbidden to Unlock file.

@echo off

:: Set all parameters
set repository=%1
set repopath=%2
set user=%3

:: Set path to svnlook
set svnlook=%VISUALSVN_SERVER%bin\svnlook.exe

:: First check that the lock exists already.
:: In that case svnlook prints the lock description.
"%svnlook%" lock "%repository%" %repopath% | findstr /B /L "UUID Token:" > NUL 2>&1

:: If the lock does not exist, allow locking
if ERRORLEVEL 1 exit 0

:: Now check the lock's owner
"%svnlook%" lock "%repository%" %repopath% | findstr /C:"Owner: %user%" > NUL 2>&1

:: If the person locking matches the lock's owner, allow locking
if %ERRORLEVEL% EQU 0 exit 0

:: Otherwise, return failure
echo "Error: %repopath% is locked already." >&2
exit 1


This scenario failed in Repo Browser. Any one can Unlock File/Folder through Repo Browser.

Please advice me accordingly.



DISCLAIMER: This e-mail and any file transmitted with it are confidential and intended solely for the use of the addressee. If you are not the intended recipient, you are hereby advised that any dissemination, distribution or copy of this email or its attachments is strictly prohibited. If you have received this email in error, please immediately notify us by return email and destroy this email message and its attachments. This communication may contain forward-looking statements relating to the development of NetSol Technologies' products and services and future operations. The words "believe," "expect," "anticipate," "intend," variations of such words, and similar expressions, identify forward looking statements, but their absence does not mean that the statement is not forward-looking. Views and opinions contained herein are those of the author of this email and do not necessarily represent those of NetSol Technologies. Statements contained herein are not guarantees of future performance and are subject to certain risks, uncertainties and assumptions that are difficult to predict. The company will not undertake to update any statements contained herein.

WARNING: The recipient should check this email and any attachment for the presence of viruses. Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company does not accept responsibility for any loss or damage arising from the use of this email or attachment. Note: Please consider the environment before printing this e-mail.