λ³Έλ¬Έ λ°”λ‘œκ°€κΈ°
🐧운영체제/Windows

μœˆλ„μš° - μƒŒλ“œλ°•μŠ€ μ„€μΉ˜μ™€ μ‹€ν–‰ 및 μ„€μ • 파일둜 μ»€μŠ€ν„°λ§ˆμ΄μ§• (Windows Sandbox)

by Janger 2023. 11. 6.
728x90
λ°˜μ‘ν˜•

 

 

Windows μƒŒλ“œλ°•μŠ€λž€?


Windows μƒŒλ“œλ°•μŠ€λŠ” Windows 10κ³Ό 11에 ν¬ν•¨λœ κ°€μƒν™” κΈ°μˆ λ‘œ, μ•ˆμ „ν•œ ν™˜κ²½μ—μ„œ μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ„ μ‹€ν–‰ν•  μˆ˜ μžˆλ„둝 ν•©λ‹ˆλ‹€. μƒŒλ“œλ°•μŠ€ λ‚΄μ—μ„œ μ‹€ν–‰λ˜λŠ” μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ€ ν˜ΈμŠ€νŠΈ μ‹œμŠ€ν…œκ³Ό κ²©λ¦¬λ˜μ–΄ μžˆμœΌλ―€λ‘œ, μ•…μ„±μ½”λ“œλ‚˜ λ³΄μ•ˆ μ·¨μ•½μ μ΄ μ‹œμŠ€ν…œμ— μ˜ν–₯을 λ―ΈμΉ  μˆ˜ μ—†μŠ΅λ‹ˆλ‹€.

 

 

Windows μƒŒλ“œλ°•μŠ€ μ„€μΉ˜ (μ‹€μŠ΅ ν™˜κ²½ : Windows 10)

 

 

μƒŒλ“œλ°•μŠ€ κΈ°λŠ₯을 지원 κ°€λŠ₯ν•œ Windows 버전듀

좜처: https://learn.microsoft.com/ko-kr/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-overview

 

1. Windows κΈ°λŠ₯ 켜기/끄기 이동

 

 

 

2. Windows μƒŒλ“œλ°•μŠ€ 체크 ν›„ μ‹œμŠ€ν…œ μž¬λΆ€νŒ…

 

3. Windows μƒŒλ“œλ°•μŠ€ μ‹€ν–‰

 

 

μ‹€ν–‰ μ‹œ λ³„λ„μ˜ 창으둜 초기 μƒνƒœμ˜ Windowsκ°€ 싀행이 되고 λ§Œμ•½ μƒŒλ“œλ°•μŠ€λ₯Ό μ’…λ£Œν•˜κ²Œ 되면 λ³€κ²½ λ‚΄μš©μ΄ λͺ¨λ‘ 사라진닀. 

파일과 ν…μŠ€νŠΈλŠ” ν΄λ¦½λ³΄λ“œμ— 볡사 to λΆ™μ—¬ λ„£κΈ° ν˜•νƒœλ‘œ "호슀트 → μƒŒλ“œλ°•μŠ€"와 " μƒŒλ“œλ°•μŠ€ → 호슀트" λ‘˜ λ‹€ κ°€λŠ₯ν•˜λ‹€. 

 

 

 

Windows μƒŒλ“œλ°•μŠ€ ꡬ성(.wsb μ„€μ • 파일) (μ‹€μŠ΅ ν™˜κ²½ : Windows 11)

 

.wsb λΌλŠ” ν™•μž₯ νŒŒμΌμ„ 가진 ν…μŠ€νŠΈ 파일둜 Windows μƒŒλ“œλ°•μŠ€ ν™˜κ²½μ„ κ°„λ‹¨ν•˜κ²Œ μ»€μŠ€ν„°λ§ˆμ΄μ§•μ΄ κ°€λŠ₯ν•˜λ‹€. 

 

[examle.wsb]

<Configuration>
    <vGpu>Disable</vGpu>
    <Networking>Disable</Networking>
    <MappedFolders>
        <MappedFolder>
            <HostFolder>D:\share</HostFolder>
            <ReadOnly>false</ReadOnly>
        </MappedFolder>
    </MappedFolders>
    <LogonCommand>
        <Command>cmd.exe /c start www.google.com</Command>
    </LogonCommand>
</Configuration>

 

vGpu : 가상화 GPU μ„€μ • (Enable/Disable)

Networking : μƒŒλ“œλ°•μŠ€ λ‚΄μ—μ„œ λ„€νŠΈμ›Œν¬ μ•‘μ„ΈμŠ€λ₯Ό μ‚¬μš©ν• μ§€ μ‚¬μš©ν•˜μ§€ μ•Šμ„μ§€ μ„€μ • (Enable/Disable)

MappedFolders > MappedFolder > HostFolder : ν˜ΈμŠ€νŠΈμ™€ κ³΅μœ ν•  폴더λ₯Ό 지정 (ν•΄λ‹Ή κ²½λ‘œμ— μ‹€μ œ 폴더가 μ—†μŒ 였λ₯˜ λ°œμƒ)

LogonCommand > Command : μƒŒλ“œλ°•μŠ€κ°€ μ‹€ν–‰ν•  λ•Œ μ‹€ν–‰ν•  μ»€λ§¨λ“œ λͺ…λ Ήμ–΄

 

 

μžμ„Έν•œ 정보: 

https://learn.microsoft.com/en-us/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-configure-using-wsb-file

 

Windows Sandbox configuration - Windows Security

Windows Sandbox configuration

learn.microsoft.com

 

 

μ‹€ν–‰ μ‹œ "cmd.exe /c start www.google.com" λͺ…λ Ήμ–΄λ₯Ό μ‹€ν–‰ν•˜μ—¬ λΈŒλΌμš°μ €λ‘œ ꡬ글을 μ΄λ™ν•˜μ˜€μ§€λ§Œ 사전에 μ„€μ •ν•œ λ„€νŠΈμ›Œν‚Ή μ˜΅μ…˜μ΄ λΉ„ν™œμ„±ν™”κ°€ λ˜μ–΄μ„œ μ œλŒ€λ‘œ μ—°κ²°λ˜μ§€ μ•ŠμŒ

 

바탕화면에 μƒˆλ‘œ 생긴 곡유 폴더

 

μƒŒλ“œλ°•μŠ€ ν™˜κ²½μ—μ„œ μƒˆλ‘œ νŒŒμΌμ„ 생성

 

 

호슀트 컴퓨터와 폴더λ₯Ό λ˜‘κ°™μ΄ κ³΅μœ ν•¨

 

바탕화면에 생긴 곡유 폴더(share)도 μ‹€μ œ 호슀트 μ»΄ν“¨ν„°μ˜ D:\share와 κ³΅μœ ν•˜κ²Œ 되고 ReadOnly μ˜΅μ…˜μ΄ false이기 λ•Œλ¬Έμ— 파일 생성 및 μ‚­μ œλ„ κ°€λŠ₯ν•˜λ‹€. μƒŒλ“œλ°•μŠ€λ₯Ό μ’…λ£Œν•˜μ—¬λ„ 곡유 ν΄λ”λŠ” μ‚­μ œλ˜μ§€ μ•ŠλŠ”λ‹€. 

 

 

λ©”λͺ¨λ¦¬ μ‚¬μ΄μ¦ˆ λ³€κ²½

 

 

λ©”λͺ¨λ¦¬ κΈ°λ³Έ μ‚¬μ΄μ¦ˆκ°€ μž‘μ„ κ²½μš°μ—λŠ” λ‹€μŒκ³Ό 같이 μ„€μ • 파일둜 변경이 κ°€λŠ₯ν•˜λ‹€. 

 

[resizeMemory.wsb]

<Configuration>
	<MemoryInMB>8192</MemoryInMB>
</Configuration>

MB λ‹¨μœ„λ₯Ό μ‚¬μš©μ„ ν•˜λ©° λ‚˜λŠ” 8κΈ°κ°€(8192MB)둜 μ„€μ •ν•΄ μ£Όμ—ˆλ‹€. 

 

μ„€μΉ˜λœ RAM이 8GB인 것을 확인

 

 

μ°Έκ³ : 

https://learn.microsoft.com/ko-kr/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-overview

 

Windows μƒŒλ“œλ°•μŠ€ - Windows Security

Windows μƒŒλ“œλ°•μŠ€ κ°œμš”

learn.microsoft.com

 

https://learn.microsoft.com/ko-kr/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-configure-using-wsb-file

 

Windows μƒŒλ“œλ°•μŠ€ ꡬ성 - Windows Security

Windows μƒŒλ“œλ°•μŠ€ ꡬ성

learn.microsoft.com

 

728x90
λ°˜μ‘ν˜•