Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Melody by Me and File Privacy Management
Search
LINE Developers Thailand
October 16, 2021
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Melody by Me and File Privacy Management
LINE Developers Thailand
October 16, 2021
More Decks by LINE Developers Thailand
See All by LINE Developers Thailand
Unlocking the Power of AI Agents with LINE Bot MCP Server
linedevth
0
580
No REST No Stress! Connect LINE SHOPPING with MCP
linedevth
0
150
Build & Ship LINE MINI App with MINI AI Studio
linedevth
0
290
Scouter: Unleashing the True Power Level of Web Performance
linedevth
0
130
Spec > Spell: Write It Clearly, and Let AI Do the Magic
linedevth
0
140
ArgoCD: Deploy with confidence, conquer YAML mysteries
linedevth
0
160
LINE Group Bot by Zwiz.AI
linedevth
0
210
Next-Gen Retail: LINE MINI App with AI Location Intelligence
linedevth
0
210
TicketO: Reinventing the event experience with AI on MINI App
linedevth
0
330
Other Decks in Technology
See All in Technology
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
380
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
2.1k
事業課題から技術的負債に向き合う
sansantech
PRO
2
1.9k
Goodbye ShellScript, Hello File-based App
shunsock
0
150
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
940
Reactの設計論
uhyo
24
14k
JSONataとAWS Step Functionsで目指すRuntimelessな世界
mu7889yoon
0
120
Genieを崇めよ
kameitomohiro
0
160
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
4
1.3k
LLMに渡さなかった仕事
nanaism
0
620
AIエージェントの一手は 誰も見ていない - Falco拡張OSS「Prempti」とeBPFで サーバーレス実行基盤を二層防御する
keitah
0
150
Issue 駆動でスペシャリストの意図を届ける、AI 実装のアクセシビリティ向上
thkt
0
120
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.5k
Statistics for Hackers
jakevdp
799
230k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
Building Flexible Design Systems
yeseniaperezcruz
330
41k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
We Are The Robots
honzajavorek
0
380
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
New Earth Scene 8
popppiees
4
2.6k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
670
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Transcript
None
MELODY BY ME AND FILE PRIVACY MANAGEMENT
• LINE MELODY and Melody by Me • Files management
overview • File privacy with presigned url • Want to make it more secure? AGENDA
LINE MELODY
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) 1.5M
LINE Melody Users
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) 30K
LINE Melody Musics
None
MELODY BY ME
None
MELODY FILE MANAGEMENT OVERVIEW
File Types by Usage • Real File • Ringtone •
Ringback tone • Preview File
Cloud Service Platform
Verda Object Storage - VOS Bucket Object
Music Normal melody
Music ADMIN WEB MELODY WEB PREVIEW FOLDER REAL FILES FOLDER
RT/RBT SETTING SERVICE
Music PREVIEW FOLDER REAL FILE FOLDER Private Public
Music ADMIN WEB MELODY WEB PREVIEW FOLDER REAL FILES FOLDER
RT/RBT SETTING SERVICE
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) Voice
Melody by me
Voice MELODY WEB PRIVATE FOLDER RT/RBT SETTING SERVICE MELODY WEB
FILES PRIVACY WITH PRESIGNED URL
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) Presigned
url
Voice PRIVATE DIRECTORY MELODY WEB RT/RBT SETTING SERVICE Generate PRESIGNED
URL
import { S3 } from ‘aws-sdk’; const s3Con fi g
= { endpoint: ‘HOST’, accessKeyId: ‘ACCESS_KEY’, secretAccessKey: ‘SECRET_KEY’, }; const client = new S3(s3Con fi g); const params = { Bucket: ‘melody’, Key: ‘private/folder_name/ fi le_name.m4a’, }; const previewUrl = client.getSignedUrl(‘getObject’, params); Presigned URL Implementation
https://DOMAIN/private/folder_name/ fi le_name.m4a? AWSAccessKeyId=S3_ACCESS_KEY&Signature=sNTwfp %2BEcf8kq32K464%2Bee1bO8Q%3D Presigned URL Example
• AWSAccessKeyId=S3_ACCESS_KEY • Signature=sNTwfp%2BEcf8kq32K464%2Bee1bO8Q%3D Presigned URL Query String
WANT TO MAKE IT MORE SECURE ?
const params = { Bucket: ‘melody’, Key: ‘private/folder_name/ fi le_name.m4a’,
Expires: 60, // seconds }; const previewUrl = client.getSignedUrl(‘getObject’, params); Set Expires
https://DOMAIN/private/folder_name/ fi le_name.m4a? AWSAccessKeyId=S3_ACCESS_KEY&Expires=16308416 66&Signature=SL8XYVRoVLrB1xx2AaE28lQS18w%3D Set Expires
• AWSAccessKeyId=S3_ACCESS_KEY • Signature=SL8XYVRoVLrB1xx2AaE28lQS18w%3D • Expires=1630841666 Set Expires
Renew Keys Generate PRESIGNED URL NEW
import { S3 } from ‘aws-sdk’; const s3Con fi g
= { endpoint: ‘HOST’, accessKeyId: env.S3_ACCESS_KEY, secretAccessKey: env.S3_SECRET_KEY, }; const client = new S3(s3Con fi g); Rotate Keys
MELODY BY ME AND FILE PRIVACY MANAGEMENT
https://melody.line.me/ https://melody.line.me/voice-record